[Koha-bugs] [Bug 32205] Unnecessary sysprefs used in template params for masthead during failed OPAC auth

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 15 02:28:34 CET 2022


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

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Created attachment 143889
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143889&action=edit
Bug 32205: Remove unnecessary syspref template params for failed OPAC auth

This patch removes some unnecessary syspref template params for
failed OPAC auth. The templates handle these syspref using the
Koha.Preference() TT plugin function, so they're completely redundant
and just make checkauth() longer than it needs to be.

Test plan:
1) Apply patch
2) Enable OpacCloud, OpacBrowser, and OpacTopissue sysprefs
3) koha-plack --restart kohadev
4) Log out of Koha if you're logged in
5) Go to http://localhost:8080/cgi-bin/koha/opac-user.pl
6) Note that you can see the Cart as well as links for the following:
Browse by hierarchy, Authority search, Tag cloud, Subject cloud,
Most popular

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


More information about the Koha-bugs mailing list