There is currently no way to go to the next record in a search result list on the staff client, and there really should be some sort of previous/next browse functionality.
Created attachment 20025 [details] [review] Bug 10404: add previous/next browsing to staff client Although previous/next browsing was added for searches in the OPAC in 2011, the staff client has been without any sort of search browsing. Until now. This patch is an all-singing, all-dancing, all-compatible implementation of search browsing that will work across multiple browser tabs and on any browser since IE7 (though the staff client layout is broken on IE7). To test: 1) Perform a search that will bring up multiple results. 2) View one of the results. 3) Use the Previous and Next links to browse along the search results. 4) Use the "Return to results" button to check that you end up at the correct page of results, even if you page through more than 20 records. 5) Sign off.
Two comments I made in IRC that I will copy here so they are not forgotten: - I would put browser.js in intranet-tmpl/js rather than intranet-tmpl/lib/koha. Generally speaking /lib/ is for 3rd-party libraries, /js/ is for scripts written for Koha. - There is commented-out code in results.tt, [% dumper.dump(SEARCH_RESULTS) %]
Created attachment 20132 [details] [review] Bug 10404: add previous/next browsing to staff client Although previous/next browsing was added for searches in the OPAC in 2011, the staff client has been without any sort of search browsing. Until now. This patch is an all-singing, all-dancing, all-compatible implementation of search browsing that will work across multiple browser tabs and on any browser since IE7 (though the staff client layout is broken on IE7). To test: 1) Perform a search that will bring up multiple results. 2) View one of the results. 3) Use the Previous and Next links to browse along the search results. 4) Use the "Return to results" button to check that you end up at the correct page of results, even if you page through more than 20 records. 5) Sign off.
Created attachment 20176 [details] [review] [SIGNED-OFF] Bug 10404: add previous/next browsing to staff client Although previous/next browsing was added for searches in the OPAC in 2011, the staff client has been without any sort of search browsing. Until now. This patch is an all-singing, all-dancing, all-compatible implementation of search browsing that will work across multiple browser tabs and on any browser since IE7 (though the staff client layout is broken on IE7). To test: 1) Perform a search that will bring up multiple results. 2) View one of the results. 3) Use the Previous and Next links to browse along the search results. 4) Use the "Return to results" button to check that you end up at the correct page of results, even if you page through more than 20 records. 5) Sign off. Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 20177 [details] [review] Bug 10404 [CSS follow-up] Add previous/next browsing to staff client search results This patch slightly modifies the styles of the previous/next links in a way that I think is simpler and clearer. To test, apply the patch and clear your browser cache if necessary. Perform a search in the staff client, click any result, and look at the prevous/next links. If you think this is an improvement, sign off!
Created attachment 20215 [details] [review] Bug 10404 [CSS follow-up] [SIGNED-OFF] Add previous/next browsing to staff client search results This patch slightly modifies the styles of the previous/next links in a way that I think is simpler and clearer. To test, apply the patch and clear your browser cache if necessary. Perform a search in the staff client, click any result, and look at the prevous/next links. If you think this is an improvement, sign off! Signed-off-by: Magnus Enger <magnus@enger.priv.no> Looks like an improvement to me!
Created attachment 20225 [details] [review] Bug 10404: add previous/next browsing to staff client Although previous/next browsing was added for searches in the OPAC in 2011, the staff client has been without any sort of search browsing. Until now. This patch is an all-singing, all-dancing, all-compatible implementation of search browsing that will work across multiple browser tabs and on any browser since IE7 (though the staff client layout is broken on IE7). To test: 1) Perform a search that will bring up multiple results. 2) View one of the results. 3) Use the Previous and Next links to browse along the search results. 4) Use the "Return to results" button to check that you end up at the correct page of results, even if you page through more than 20 records. 5) Sign off. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Passes koha-qa.pl, works as advertised.
Created attachment 20226 [details] [review] Bug 10404 [CSS follow-up] Add previous/next browsing to staff client search results This patch slightly modifies the styles of the previous/next links in a way that I think is simpler and clearer. To test, apply the patch and clear your browser cache if necessary. Perform a search in the staff client, click any result, and look at the prevous/next links. If you think this is an improvement, sign off! Signed-off-by: Magnus Enger <magnus@enger.priv.no> Looks like an improvement to me! Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment on attachment 20215 [details] [review] Bug 10404 [CSS follow-up] [SIGNED-OFF] Add previous/next browsing to staff client search results Looks like wrong patch was marked obsolete during the final QA round, fixing.
Pushed to master. Thanks, Jared!