From dbd07c4d089ca32d385c0f044bfb6a85ae547706 Mon Sep 17 00:00:00 2001 From: Gaetan Boisson Date: Fri, 9 Oct 2015 14:44:44 +0200 Subject: [PATCH] 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 Signed-off-by: Jonathan Druart Signed-off-by: Brendan A Gallagher (cherry picked from commit 4d96477544341d46da64973cfd0b96b4debaa3a7) Signed-off-by: Julian Maurice --- .../prog/en/includes/auth-finder-search.inc | 55 ++++++++------- .../prog/en/includes/authorities-search.inc | 67 +++++++++++++++++-- 2 files changed, 89 insertions(+), 33 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc index b1906a9589..bb2d3a8d15 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc @@ -121,7 +121,7 @@ function finderjumpfull(page)
  • - + @@ -147,7 +147,7 @@ function finderjumpfull(page)
  • - + @@ -171,9 +171,32 @@ function finderjumpfull(page)
  • -
  • - + + + + + + +
  • +
  • + @@ -197,30 +220,6 @@ function finderjumpfull(page)
  • -
  • - - - - - - -
  • + + + + + + + + + + +
    -

    Enter authorized heading:

    +

    Enter main heading:

    @@ -128,7 +184,7 @@
    -