[Koha-bugs] [Bug 33933] Use restrictions appear twice for items on OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 7 07:33:33 CEST 2023


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

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Created attachment 152073
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152073&action=edit
Bug 33933: Only show use restriction once on OPAC detail page

This patch removes a regression from bug 32611 that caused the
use restriction text to be shown twice for "Available" items.

Test plan:
0. Apply patch
1. Go to
http://localhost:8081/cgi-bin/koha/cataloguing/additem.pl?biblionumber=29
2. Edit item and add "Restricted access" for "5 - Use restrictions"
3. Go to http://localhost:8080/cgi-bin/koha/opac-detail.pl?biblionumber=29
4. Note that "Status" says "Available (Restricted access)" and there is no
duplicate "Restricted access" at the top of that table cell

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


More information about the Koha-bugs mailing list