Bug 27381 - OPAChiddenItems is not respected in opac-course-details.pl
Summary: OPAChiddenItems is not respected in opac-course-details.pl
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Course reserves (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-11 18:41 UTC by Kelly McElligott
Modified: 2021-01-11 18:42 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kelly McElligott 2021-01-11 18:41:49 UTC
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.