Bug 23475: Use localStorage to preserve simple search values
authorNick Clemens <nick@bywatersolutions.com>
Mon, 19 Aug 2019 19:38:52 +0000 (19:38 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 30 Nov 2020 10:14:58 +0000 (11:14 +0100)
commit45400055e443b991953e81248424cec0a8663b9a
treeb1b1d9ec11ee1bb29b3ab8ca1713b1d56951690b
parent1e5d4ab20568d96f8dd2c49282d24bad9a36c4d3
Bug 23475: Use localStorage to preserve simple search values

To test:
1 - Enable IntranetCatalogSearchPulldown
2 - Perform a search that brings you to a single title
3 - Note the search is not displayed on the details page
4 - Apply patch
5 - Repeat
6 - Note the search is retained on details page
7 - Try with different dropdown values and search terms
8 - Test search terms including accented characters etc

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Bug 23475: (follow-up) Fix selectors and stray use statements

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
catalogue/search.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/intranet-tmpl/prog/js/staff-global.js