BUG 14991 Improve consistency of authority search
authorGaetan Boisson <gaetan.boisson@biblibre.com>
Fri, 9 Oct 2015 12:44:44 +0000 (14:44 +0200)
committerJulian Maurice <julian.maurice@biblibre.com>
Thu, 31 Dec 2015 09:24:29 +0000 (10:24 +0100)
commitdbd07c4d089ca32d385c0f044bfb6a85ae547706
treef088cb210898c953db565984270c874e402c5608
parentfdb0cc80dbd323f8b7d60bb57af1e9bc6d126086
 BUG 14991 Improve consistency of authority search

At the moment we can search authorities from two places: authorities-home.pl and auth_finder.pl (while cataloguing).

The auth_finder.pl page offers searching specifically in the $a of the main heading, while the authorities home page doesn't.

Additionally, the wording and order of the options is different.

authorities-home.pl has:
Search main heading
Search all headings
Keyword search

while auth_finder.pl has:
Main entry ($a only)
Main entry
Anywhere
Heading match

This patch will add some consistency so that both pages offer:
Search main heading ($a only)
Search main heading
Search all headings
Search entire record

Test plan:

- apply patch
- go to authorities home
- check that previous searches are still working
- check that the new ($a only) search is working
- go to auth finder (from cataloguing)
- check that searches are still working
- check that we do have the same wording in both pages and that forms are now consistent

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 4d96477544341d46da64973cfd0b96b4debaa3a7)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc