https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20398

Kyle M Hall <k...@bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #130446|0                           |1
        is obsolete|                            |

--- Comment #34 from Kyle M Hall <k...@bywatersolutions.com> ---
Created attachment 130450
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130450&action=edit
Bug 20398 : Added a syspref to highlight or not highlight search terms in
results on the staff interface

There is a possibility on OPAC but not yet on the staff interface, so I added
this syspref which has the same behaviour as the OPAC highlighting syspref.
When you choose to disable highlighting on the syspref, the toggle anchor in
the result page does not appear at all.
But if you keep the default state (highlighting on), you still have the option
to switch between "Unhighlight" and "Highlight" modes.

Test plan :
1. Go to the syspref named "StaffHighlightedWords" and see that the default
state is "Highlight".
2. Look for something in the catalogue for example and see that the words are
highlighted and that it is also possible to change between "Unhighlight" and
"Highlight".
3. Go back to syspref and choose to disable highlighting by choosing "Don't
Highlight".
4. Refresh your results page if you have not closed it or reload a new search.
5. There is no highlighting at all and anchors do not exist (same behaviour as
the OPAC interface).

Signed-off-by: ManuB <e.bete...@gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to