{"action":"opened","pull_request":{"review_comments":0,"created_at":"2011-12-09T19:36:49Z","state":"open","updated_at":"2011-12-09T19:36:49Z","changed_files":2,"_links":{"review_comments":{"href":"https://api.github.com/repos/whiteoctober/Pagerfanta/pulls/40/comments"},"comments":{"href":"https://api.github.com/repos/whiteoctober/Pagerfanta/issues/40/comments"},"html":{"href":"https://github.com/whiteoctober/Pagerfanta/pull/40"},"self":{"href":"https://api.github.com/repos/whiteoctober/Pagerfanta/pulls/40"}},"patch_url":"https://github.com/whiteoctober/Pagerfanta/pull/40.patch","issue_url":"https://github.com/whiteoctober/Pagerfanta/issues/40","comments":0,"user":{"gravatar_id":"eb42ff31986f5ed1d97580819134d702","id":88061,"url":"https://api.github.com/users/igorw","avatar_url":"https://secure.gravatar.com/avatar/eb42ff31986f5ed1d97580819134d702?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"igorw"},"merged":false,"body":"Solarium: [solarium-project.org](http://solarium-project.org)\r\n\r\nExample usage (with [NelmioSolariumBundle](https://github.com/nelmio/NelmioSolariumBundle)):\r\n\r\n    $solarium = $this->get('solarium.client');\r\n\r\n    $query = $solarium->createSelect();\r\n    $query->setQuery($searchQuery->getQuery());\r\n\r\n    $paginator = new Pagerfanta(new SolariumAdapter($solarium, $query));\r\n    $paginator->setMaxPerPage(15);\r\n    $paginator->setCurrentPage($req->query->get('page', 1), false, true);\r\n\r\n    return $this->render('PackagistWebBundle:Web:search.html.twig', array('packages' => $paginator));\r\n\r\nIt will be used on [packagist.org](http://packagist.org).\r\n\r\nAlso allows Adapter::getSlice() to return an Iterator or IteratorAggregate.","deletions":1,"commits":1,"mergeable":null,"merged_by":null,"id":578460,"additions":72,"number":40,"base":{"repo":{"created_at":"2011-04-26T18:55:28Z","pushed_at":"2011-11-28T12:46:53Z","updated_at":"2011-12-09T19:31:09Z","private":false,"clone_url":"https://github.com/whiteoctober/Pagerfanta.git","svn_url":"https://svn.github.com/whiteoctober/Pagerfanta","name":"Pagerfanta","watchers":86,"master_branch":null,"language":"PHP","forks":19,"owner":{"gravatar_id":"9bf5adc2d1dcbb9d140a7a9ce1c468ba","id":595822,"url":"https://api.github.com/users/whiteoctober","avatar_url":"https://secure.gravatar.com/avatar/9bf5adc2d1dcbb9d140a7a9ce1c468ba?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","login":"whiteoctober"},"id":1666651,"homepage":"","description":"","git_url":"git://github.com/whiteoctober/Pagerfanta.git","html_url":"https://github.com/whiteoctober/Pagerfanta","size":336,"url":"https://api.github.com/repos/whiteoctober/Pagerfanta","fork":false,"open_issues":7,"ssh_url":"git@github.com:whiteoctober/Pagerfanta.git"},"user":{"gravatar_id":"9bf5adc2d1dcbb9d140a7a9ce1c468ba","id":595822,"url":"https://api.github.com/users/whiteoctober","avatar_url":"https://secure.gravatar.com/avatar/9bf5adc2d1dcbb9d140a7a9ce1c468ba?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","login":"whiteoctober"},"sha":"931bebe329c89935d1635ac132d864abdcb23e0f","ref":"master","label":"whiteoctober:master"},"head":{"repo":{"created_at":"2011-12-09T19:31:09Z","pushed_at":"2011-12-09T19:32:49Z","updated_at":"2011-12-09T19:32:50Z","private":false,"clone_url":"https://github.com/igorw/Pagerfanta.git","svn_url":"https://svn.github.com/igorw/Pagerfanta","name":"Pagerfanta","watchers":1,"master_branch":null,"language":"PHP","forks":0,"owner":{"gravatar_id":"eb42ff31986f5ed1d97580819134d702","id":88061,"url":"https://api.github.com/users/igorw","avatar_url":"https://secure.gravatar.com/avatar/eb42ff31986f5ed1d97580819134d702?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"igorw"},"id":2949528,"homepage":"","description":"","git_url":"git://github.com/igorw/Pagerfanta.git","html_url":"https://github.com/igorw/Pagerfanta","size":124,"url":"https://api.github.com/repos/igorw/Pagerfanta","fork":true,"open_issues":0,"ssh_url":"git@github.com:igorw/Pagerfanta.git"},"user":{"gravatar_id":"eb42ff31986f5ed1d97580819134d702","id":88061,"url":"https://api.github.com/users/igorw","avatar_url":"https://secure.gravatar.com/avatar/eb42ff31986f5ed1d97580819134d702?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"igorw"},"sha":"a9c5ee238cd73cba4c5e4a08c13c1479af24a6a5","ref":"solarium-adapter","label":"igorw:solarium-adapter"},"title":"add a Solarium (solr client) adapter","html_url":"https://github.com/whiteoctober/Pagerfanta/pull/40","closed_at":null,"url":"https://api.github.com/repos/whiteoctober/Pagerfanta/pulls/40","diff_url":"https://github.com/whiteoctober/Pagerfanta/pull/40.diff","merged_at":null},"number":40}