Hi,
Pagination is not working in 7.x version, function apachesolr_do_query, is not accepting as second parameter the page, it must be added in the query prior to call it.
This is the code to modifie in apachesolr_views_query.inc:
- list($final_query, $response) = apachesolr_do_query($query, $this->pager->current_page);
+
+ $query->page = $this->pager->current_page;
+ list($final_query, $response) = apachesolr_do_query($query);
i send a patch.
Best
| Comment | File | Size | Author |
|---|---|---|---|
| apachesolr_views_pagination.diff | 890 bytes | david.gil |
Comments
Comment #1
rjbrown99 commentedPatch here, changing status.
Comment #2
becw commentedThis patch works and is required for correct pagination.
Comment #3
shenzhuxi commentedConfirm works.
Should be committed.
Comment #4
dstuart commentedMerged into dev