[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
Fri Jun 30 12:09:17 CEST 2023


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

Biblibre Sandboxes <sandboxes at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #152073|0                           |1
        is obsolete|                            |

--- Comment #7 from Biblibre Sandboxes <sandboxes at biblibre.com> ---
Created attachment 152901
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152901&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

Signed-off-by: ebal <eric.balluto at univ-lyon2.fr>

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


More information about the Koha-bugs mailing list