Bug 10404: add previous/next browsing to staff client
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 10 Jul 2013 22:02:27 +0000 (18:02 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 9 Aug 2013 15:07:39 +0000 (15:07 +0000)
commit762c3304ea102d0fadb62c02bd384778c0e803b2
tree4939e333bc321c1edcb8ae0daedeed858bd1a059
parentcf902c704ba9b0560bc8ff2006fe5763ffa2a090
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.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
21 files changed:
catalogue/ISBDdetail.pl
catalogue/MARCdetail.pl
catalogue/detail.pl
catalogue/labeledMARCdetail.pl
catalogue/moredetail.pl
catalogue/search.pl
cataloguing/addbiblio.pl
cataloguing/additem.pl
koha-tmpl/intranet-tmpl/js/browser.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/shims/json2.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/shims/json2.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/includes/browser-strings.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt