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)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 10 Aug 2016 13:38:16 +0000 (13:38 +0000)
commit8d7e62b808522b1871d6b704e0ae5def3be886ee
tree6034af7dcdb91cac5834b675b11f631eadbd8652
parentaa0e27ea08cf0d9a1ff46b061cc38d2b15fa66e7
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>
catalogue/search.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt