[Koha-bugs] [Bug 11516] OPAC highlight lost in results browser
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 10 16:28:31 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11516
--- Comment #4 from sandboxes at biblibre.com <sandboxes at biblibre.com> ---
Created attachment 24144
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24144&action=edit
Bug 11516 - OPAC highlight lost in results browser
When OpacHighlightedWords syspref is on, the current search terms are
highlighted in results and detail pages.
This workes in detail page with the URL param 'query_desc'.
This parameter must be managed in results browser (appears when
OpacBrowseResults syspref is on) links.
This patch adds query_desc parameter in results list and changes next and
previous links to be build into TT instead of perl to manage query_desc
parameter only into TT.
Test plan :
- Edit sysprefs : OpacHighlightedWords on, OpacBrowseResults on,
OPACXSLTDetailsDisplay off, OPACXSLTResultsDisplay off (highlight actually does
not work with XSLT)
- Perform a search with a term existing into title
=> You see the term highlighted in search results
- Go to detail of a result with highlight
=> You see the term highlighted
- Click on "Next"
=> you see query_desc in URL, and if search term is present it is highlighted
- Same for "Previous"
- Click on "Browse results"
- Click on a result
=> you see query_desc in URL, and if search term is present it is highlighted
Signed-off-by: Aur
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list