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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Tue, 15 Dec 2020 20:00:00 +0000 (20:00 +0000)
commit69b775e8a0a43de67b9e1b9326dbe0aa6cbd8c6a
tree51cbeb8fdb28a96b2d2702ae78f409e711b30e24
parentbb7ef5294f19a1261389b28e3605c26c8624ea16
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>
(cherry picked from commit 45400055e443b991953e81248424cec0a8663b9a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 15aeb2f594783da4aa0551e8412abc020436a5c4)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
catalogue/search.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/intranet-tmpl/prog/js/staff-global.js