Add "Keyword phrase", "Title phrase", and "Notes/Comments" to drop-down menu in masthead.inc, which populates top search box in OPAC. Also, edit opac-search.pl so that the correct index appears in the drop-down menu following a search (which doesn't seem possible using JQuery) Finally, add "Keyword phrase" to OPAC Advanced Search, and move "Title phrase" and "Notes/Comments" so that they appear on the default advanced search screen rather than after clicking "More Options".
Created attachment 12291 [details] [review] Bug 8778 - Add "Phrase" Searching to OPAC Search
Discussion of this and Bug 8302: http://lists.koha-community.org/pipermail/koha-devel/2012-September/038042.html
I'd say this patch manages 2 different things : 1/ adds index "kw,phr" in OPAC bootstrap advanced search 2/ moves indexes with "phr" out of "more options" condition I think the point n°2 is under discussion and I vote against. What about point n°1 ? I've add a ask for this feature by a library. Can I create a new bug for adding index "kw,phr" in OPAC bootstrap advanced search, but into a more options" condition ?
(In reply to Fridolin SOMERS from comment #3) > I'd say this patch manages 2 different things : > 1/ adds index "kw,phr" in OPAC bootstrap advanced search > 2/ moves indexes with "phr" out of "more options" condition > > I think the point n°2 is under discussion and I vote against. > > What about point n°1 ? I've add a ask for this feature by a library. > Can I create a new bug for adding index "kw,phr" in OPAC bootstrap advanced > search, but into a more options" condition ? Hi Fridolin, this is an old one - but I'd like to have the first without the second.
I am volunteering to do the first part: Add Keyword, Phrase to the advanced search.
(In reply to Katrin Fischer from comment #5) > I am volunteering to do the first part: Add Keyword, Phrase to the advanced > search. Cool thanks a lot
Created attachment 92140 [details] [review] Bug 8778: Add Keyword phrase to OPAC advanced search Adds a new search index to the advanced search in OPAC: Keyword phrase The new search option displays when the "More options" are selected. To test: - Apply patch - Go to Advanced search in OPAC - Look at the search pull downs - Verify everything looks correct - Click "More options" - Verify the Keyword phrase search option shows - Test if it works correctly
Created attachment 92328 [details] [review] Bug 8778: Add Keyword phrase to OPAC advanced search Adds a new search index to the advanced search in OPAC: Keyword phrase The new search option displays when the "More options" are selected. To test: - Apply patch - Go to Advanced search in OPAC - Look at the search pull downs - Verify everything looks correct - Click "More options" - Verify the Keyword phrase search option shows - Test if it works correctly Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Thx Lucas!
The first patch was old and not needed for the suggested change. Remaining patch now applies cleanly.
Created attachment 93581 [details] [review] Bug 8778: Add Keyword phrase to OPAC advanced search Adds a new search index to the advanced search in OPAC: Keyword phrase The new search option displays when the "More options" are selected. To test: - Apply patch - Go to Advanced search in OPAC - Look at the search pull downs - Verify everything looks correct - Click "More options" - Verify the Keyword phrase search option shows - Test if it works correctly Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Nice work! Pushed to master for 19.11.00