[Koha-bugs] [Bug 30613] Hide RSS feed link when viewing private list in the OPAC
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 6 09:40:08 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30613
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #134664|0 |1
is obsolete| |
--- Comment #4 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 134677
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=134677&action=edit
Bug 30613: Hide RSS feed link when viewing private list in the OPAC
This patch wraps the List RSS icon in a check on whether the list is
public. Private lists RSS can only be accessed by a logged-in patron.
To test apply the patch and view a public list in the OPAC. You should
see an RSS link icon next to the list title.
Now log in to the OPAC and view a private list. There should be no RSS
link.
Note the QA tool warning about the aria-hidden attribute is a false
positive. The parent element has a label.
Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list