From bf84bf5b55c8d378f8abc4fa0f82a804c2d933df Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 19 Aug 2013 11:29:13 +1000 Subject: [PATCH] Bug 10755 - Add "Keyword as Phrase" to staff client advanced search indexes This patch adds a "Keyword as Phrase" index to the search options in the staff client. Test Plan: 1) Go to the Advanced Search in the staff client and click on the "Keyword" drop-down list. 2) Note that there is only a "Keyword" not a "Keyword as Phrase" option 3) Apply the patch 4) Reload the Advanced Search 5) Note that there is now a "Keyword as Phrase" option as well If you want to test the functionality...it will depend on your catalogue data. Basically, a phrase search will allow you to find "Keyword Adjacent To Keyword" rather than a more scattershot search that finds the keywords regardless of their position to each other. Signed-off-by: Owen Leonard Template change is correct, and in my tests the searching behavior was correctly modified: Using "keyword as phrase" returned only results where the terms were adjacent. Signed-off-by: Kyle M Hall Passes koha-qa.pl, trivial patch with no possible side effects. Signed-off-by: Galen Charlton (cherry picked from commit a1a4ff2bef3c94bafbf55b5995bc92bb46cdfa02) Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc index faabc42e62..67725c60d7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc @@ -1,5 +1,6 @@