]> git.koha-community.org Git - koha.git/commit
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)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 23 Aug 2016 09:48:24 +0000 (11:48 +0200)
commit2b62fbde3357b396d72cbce7d625b096c0467307
tree83594b8b5bc988afd45f0df801fc0ff59601e5be
parent86985bffc49977c97c6de98edc68ad3c3f917039
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>
catalogue/search.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt