Bug 28475: Fix searching all headings
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 27 May 2021 15:36:32 +0000 (12:36 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 28 May 2021 06:29:38 +0000 (08:29 +0200)
commit69fb1be22d42bdfe1421b4e23ea783c858ec23d2
tree4db32b1d9299728218f9968abf8c7b6d5624597f
parent79fe1a6ab9fe8720f1be3d3a7edb4162adae7ffe
Bug 28475: Fix searching all headings

This patch fixes the value of a hidden input that was mistakenly
changed and prevents search all headings from working.

To test:
1. Open the authorities section in the OPAC
2. Choose the 'Search all headings' tab
3. Search for 'a'
=> FAIL: No results
4. Empty the search box, and make sure 'Search all headings' is selected
=> SUCCESS: There are authority records
5. Apply this patch
6. Reload the page
7. Retry 3 and 4
=> SUCCESS: Searching is back!
8. Sign off :-D

Sponsored-by: AsociaciĆ³n Latinoamericana de IntegraciĆ³n
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc