[Koha-bugs] [Bug 27381] New: OPAChiddenItems is not respected in opac-course-details.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 11 19:41:49 CET 2021


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

            Bug ID: 27381
           Summary: OPAChiddenItems is not respected in
                    opac-course-details.pl
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Course reserves
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: kelly at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

When an item is attached to an active course and that item is a status that
should be hidden (such as withdrawn, lost) using the system preference:
OPAChiddenitems- this item should not be visible, however, on the OPAC, this
item is visible. 

Steps:

1. Create a course (make sure it is active)
2. In sys pref: OPAChiddenItems set items that are withdrawn to be hidden
'withdrawn: [1]
2. Add an item 
3. Make that item withdrawn.
4. Go to the OPAC- that item is visible in the course.
5. Click the title of the withdrawn item, get a 404 error.


I also tested this with hiding itypes, and the items also showed when should
have been hidden.

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


More information about the Koha-bugs mailing list