BUG 14991 Improve consistency of authority search
authorGaetan Boisson <gaetan.boisson@biblibre.com>
Fri, 9 Oct 2015 12:44:44 +0000 (14:44 +0200)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 30 Dec 2015 04:29:04 +0000 (04:29 +0000)
commit4d96477544341d46da64973cfd0b96b4debaa3a7
tree8f06b80bcbdee5f1398cf084381fdeeb48375af2
parent1acc6094be7670c180bc006182a0f8e464abac03
 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>
koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc