Koha/koha-tmpl/opac-tmpl/bootstrap
Fridolin SOMERS 9d9a002432 Bug 11516: make OPAC search term highlighting work 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
nd 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.
- 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élie <aurelie.fichot@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-03-10 21:30:38 +00:00
..
css Bug 11411 - Bootstrap theme (enhancement) for (right to left) 2014-02-19 21:32:07 +00:00
en Bug 11516: make OPAC search term highlighting work in results browser 2014-03-10 21:30:38 +00:00
images
itemtypeimg
js Bug 10309: (follow-up) apply another follow-up for 10856, improve shelf browser 2013-10-14 23:23:44 +00:00
less Bug 11411 - Bootstrap theme (enhancement) for (right to left) 2014-02-19 21:32:07 +00:00
lib Bug 11743 - Remove unused DataTables plugin from OPAC theme directories 2014-02-18 21:27:57 +00:00