[Koha-bugs] [Bug 35346] 'Accept essential cookies' should always appear if CookieConsent is enabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 16 14:24:51 CET 2023


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

--- Comment #1 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 159050
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159050&action=edit
Bug 35346: Update template logic to display 'Essential'

This patch updates the cookie consent template logic to always display
the 'Accept essential cookies' button and only expose the 'Accept all
cookies' button when there are additional cookies to accept, i.e. when
JSConsents is populated.

Test plan
1) Enable CookieConsent
2) Note you see 'Accept essential cookies' in both OPAC and Staff client
   until you have accepted them
3) Add a cookie to ConsentJS
4) Note that you will now see 'Accept all cookies' as well as the 'Accept
   essential cookies' button.

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


More information about the Koha-bugs mailing list