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

--- Comment #5 from Nick Clemens <[email protected]> ---
Created attachment 159267
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159267&action=edit
Bug 35372: Add support for OpacAdvancedSearchTypes to be empty and disabled

This enhancement makes it possible to leave the OpacAdvancedSearchTypes system
preference empty if your library would like to disable the item filter tabs
available on the OPAC advanced search. It also adds a message to the system
preference description to describe this.

To test:

1. Go to Koha Administration -> system preferences. Search for the
OpacAdvancedSearchTypes system preference and remove its contents, so it is
saved empty.
2. Go to advanced search in the OPAC. Notice the item types tab still shows as
a filter option.
3. Apply the patch, restart services and refresh the advanced search
4. Confirm the item types tab no longer shows.
5. Add something back to the OpacAdvancedSearchTypes system preference i.e.
itemtypes, ccode
6. Go back to advanced search and confirm your expected tabs show as normal

Sponsored-by: Education Services Australia SCIS
Signed-off-by: Nick Clemens <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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