Bugzilla – Attachment 20737 Details for
Bug 10755
Add "Keyword as Phrase" to staff client advanced search indexes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10755 - Add "Keyword as Phrase" to staff client advanced search indexes
Bug-10755---Add-Keyword-as-Phrase-to-staff-client-.patch (text/plain), 1.98 KB, created by
Kyle M Hall (khall)
on 2013-08-30 13:07:10 UTC
(
hide
)
Description:
Bug 10755 - Add "Keyword as Phrase" to staff client advanced search indexes
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-08-30 13:07:10 UTC
Size:
1.98 KB
patch
obsolete
>From acb757e5cdb1a5aef4badaf765bc0b20074323d1 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >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 <oleonard@myacpl.org> > >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 <kyle@bywatersolutions.com> > >Passes koha-qa.pl, trivial patch with no possible side effects. >--- > .../prog/en/includes/search_indexes.inc | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >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 faabc42..67725c6 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 @@ > <select class="advsearch" name="idx"> > <option value="kw">Keyword</option> >+ <option value="kw,phr"> Keyword as phrase</option> > <option value="au">Author</option> > <option value="au,phr"> Author as phrase</option> > <option value="cpn"> Corporate name</option> >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10755
:
20452
|
20552
| 20737