Bug 17074: Fix links in result list of 'scan indexes' and keep search term visible
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 7 Aug 2016 14:03:13 +0000 (16:03 +0200)
committerJulian Maurice <julian.maurice@biblibre.com>
Tue, 23 Aug 2016 15:33:16 +0000 (17:33 +0200)
commitdf7f0df7400c02a57fb5bf5887eb9cade2ba0510
tree453ada747ad7057ee71f8be351a46d5fea935c74
parent695e20e947f7f18136b3c10ef1e254fa539e9875
Bug 17074: Fix links in result list of 'scan indexes' and keep search term visible

The 'scan indexes' search that can be reached from the
advanced search has 2 problems to begin with:

- The search term you searched for is not displayed
  in the input field.
- The links in the result list are missing the index
  and because of that, are not giving the correct results.

To test:
- Go to the advanced search, select an index to search in
- Enter a search term and check 'scan indexes'
- Submit search
- Check if the search term is visible in the input box
- Check if the result links contain your selected index
  and give you correct results (count and the number of
  results should match)

Tested both patches together, works as expected.
Signed-off-by: Marc <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 8d7e62b808522b1871d6b704e0ae5def3be886ee)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 2b62fbde3357b396d72cbce7d625b096c0467307)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
catalogue/search.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt