[Koha-bugs] [Bug 20398] Add a system preference to disable search result highlighting in the staff interface

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 9 16:56:06 CET 2022


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

--- Comment #20 from Thibaud Guillot <thibaud.guillot at biblibre.com> ---
Created attachment 130396
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130396&action=edit
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 "HighlightedWords" 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).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list