]> git.koha-community.org Git - koha.git/commit
Bug 28475: Fix searching all headings
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 27 May 2021 15:36:32 +0000 (12:36 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 31 May 2021 14:44:57 +0000 (16:44 +0200)
commit0f89e7023b27eb34883fd874c331f985953460ca
tree38d21a7ed223b170d6c7a5f465916cd7c354b1a2
parentc29595d4fdfcb87f70792b35dfd3d38db5167fe7
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>
(cherry picked from commit 69fb1be22d42bdfe1421b4e23ea783c858ec23d2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc