{"action":"closed","pull_request":{"review_comments":9,"state":"closed","created_at":"2011-12-09T19:36:49Z","_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","updated_at":"2011-12-15T10:42:06Z","changed_files":8,"user":{"gravatar_id":"eb42ff31986f5ed1d97580819134d702","id":88061,"url":"https://api.github.com/users/igorw","login":"igorw","avatar_url":"https://secure.gravatar.com/avatar/eb42ff31986f5ed1d97580819134d702?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"issue_url":"https://github.com/whiteoctober/Pagerfanta/issues/40","comments":3,"deletions":2,"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.","merged":true,"commits":8,"mergeable":null,"id":578460,"merged_by":{"gravatar_id":"a4859fa45fee506362e03ff3bed10418","id":98504,"url":"https://api.github.com/users/pablodip","login":"pablodip","avatar_url":"https://secure.gravatar.com/avatar/a4859fa45fee506362e03ff3bed10418?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":40,"base":{"user":{"gravatar_id":"9bf5adc2d1dcbb9d140a7a9ce1c468ba","id":595822,"url":"https://api.github.com/users/whiteoctober","login":"whiteoctober","avatar_url":"https://secure.gravatar.com/avatar/9bf5adc2d1dcbb9d140a7a9ce1c468ba?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"repo":{"pushed_at":"2011-12-15T10:42:05Z","created_at":"2011-04-26T18:55:28Z","private":false,"clone_url":"https://github.com/whiteoctober/Pagerfanta.git","updated_at":"2011-12-15T10:42:05Z","svn_url":"https://svn.github.com/whiteoctober/Pagerfanta","name":"Pagerfanta","watchers":88,"master_branch":null,"forks":19,"language":"PHP","owner":{"gravatar_id":"9bf5adc2d1dcbb9d140a7a9ce1c468ba","id":595822,"url":"https://api.github.com/users/whiteoctober","login":"whiteoctober","avatar_url":"https://secure.gravatar.com/avatar/9bf5adc2d1dcbb9d140a7a9ce1c468ba?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"id":1666651,"homepage":"","git_url":"git://github.com/whiteoctober/Pagerfanta.git","description":"","html_url":"https://github.com/whiteoctober/Pagerfanta","url":"https://api.github.com/repos/whiteoctober/Pagerfanta","size":372,"ssh_url":"git@github.com:whiteoctober/Pagerfanta.git","fork":false,"open_issues":5},"sha":"931bebe329c89935d1635ac132d864abdcb23e0f","ref":"master","label":"whiteoctober:master"},"additions":170,"head":{"user":{"gravatar_id":"eb42ff31986f5ed1d97580819134d702","id":88061,"url":"https://api.github.com/users/igorw","login":"igorw","avatar_url":"https://secure.gravatar.com/avatar/eb42ff31986f5ed1d97580819134d702?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"repo":{"pushed_at":"2011-12-13T23:21:12Z","created_at":"2011-12-09T19:31:09Z","private":false,"clone_url":"https://github.com/igorw/Pagerfanta.git","updated_at":"2011-12-13T23:21:12Z","svn_url":"https://svn.github.com/igorw/Pagerfanta","name":"Pagerfanta","watchers":1,"master_branch":null,"forks":0,"language":"PHP","owner":{"gravatar_id":"eb42ff31986f5ed1d97580819134d702","id":88061,"url":"https://api.github.com/users/igorw","login":"igorw","avatar_url":"https://secure.gravatar.com/avatar/eb42ff31986f5ed1d97580819134d702?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2949528,"homepage":"","git_url":"git://github.com/igorw/Pagerfanta.git","description":"","html_url":"https://github.com/igorw/Pagerfanta","url":"https://api.github.com/repos/igorw/Pagerfanta","size":112,"ssh_url":"git@github.com:igorw/Pagerfanta.git","fork":true,"open_issues":0},"sha":"76308266bc0d4c96ad8c3cdade173c41c943ecff","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":"2011-12-15T10:42:06Z","url":"https://api.github.com/repos/whiteoctober/Pagerfanta/pulls/40","diff_url":"https://github.com/whiteoctober/Pagerfanta/pull/40.diff","merged_at":"2011-12-15T10:42:06Z"},"number":40}