Hide specific org units from staff catalog search results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
EG 3.3.4
Hello, I was looking into how I could hide ILL records from staff search results since for our use our staff never need to see ILL records when searching. It is just another set of records that they have to weed out, and occasionally someone doesn't notice and places a hold on those records.
The normal methods work fine for hiding ILL records in the public catalog view, but staff are allowed to see everything.
So I just hard coded the two org units into the QueryParser.pm to always remove them from the circ_lib visibility test for staff searches, except when staff are searching that org unit specifically. So ILL staff can still search through ILL titles by choosing that search scope.
I'm wondering if anyone else would find such a feature useful. The list of org units to exclude could be stored in a org unit setting to make it easily configurable.
I'm trying to think of a use case outside of how we handle ILL records. Maybe if equipment was cataloged, but you only wanted the equipment to come up when staff were specifically searching the equipment OU.
I also tried to find an existing feature that would cover this, but I wasn't able to find anything.
Josh
I put my example changes at user/stompro/ lp1849497_ hide_ou_ staff_search /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ stompro/ lp1849497_ hide_ou_ staff_search
https:/