Pass in page number to apachesolr_search_execute so that solr_service can return the results from the right page.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 467810.patch | 2.04 KB | aufumy |
| apachesolr_page.patch | 1.69 KB | aufumy |
Pass in page number to apachesolr_search_execute so that solr_service can return the results from the right page.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 467810.patch | 2.04 KB | aufumy |
| apachesolr_page.patch | 1.69 KB | aufumy |
Comments
Comment #1
pwolanin commentedlooks reasonable, but should probably have a default for the param, like:
Comment #2
aufumy commentedMade the modification to default page, as well as
Pass in $caller to apachesolr_search_execute, to pass into:
apachesolr_modify_query($query, $params, $caller);Where $caller = 'apachesolr_search' by default.
Therefore custom search results can be returned, where apachesolr_modify_query can apply to these custom searches instead of all searches.
Comment #3
pwolanin commentedneeds review? Looks simple enough.
Comment #4
aufumy commented:) You're the boss.
I thought that because I created that patch, it could not be the same person to set the status to RTBC.
Comment #5
pwolanin commentedWell, you left it at needs work, which suggested you did not think it worked yet.
Comment #6
aufumy commentedActually, I left it at needs review first, you changed it to needs work, because I left out the default page in the function definition.
After I added back that as well as adding in the caller I changed it back to needs review.
Comment #7
pwolanin commentedHmm, well maybe you meant to change it back, but I actually changed it in #3.
Anyhow, looks fine, doesn't seem to cause any breakage - committed.
Comment #8
aufumy commentedLOL... thanks, obviously I am confused.