[Koha-bugs] [Bug 31035] Script to update OPACSuppression field depending on hidden items
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 24 02:46:26 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31035
David Cook <dcook at prosentient.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcook at prosentient.com.au
--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
This script would break the functionality introduced by the syspref
"OpacHiddenItemsExceptions" though, unfortunately.
I thought about this a bunch while working on bug 19704.
In theory, you could enqueue a background job, when "OpacHiddenItems" is saved,
which could process every record with items and then update a "biblio.hidden"
field (so that it can be queried for SQL searches and not just Search Engine
searches), if "OpacHiddenItemsHidesRecord" is set.
--
Maybe the solution is to get rid of "OpacHiddenItemsExceptions" and then either
use a cronjob or a background job to update the 942$n/biblio.hidden.
It would be great to be able to eliminate the post-processing of records/items
caused by "OpacHiddenItems", so generally speaking I'm on board for what you're
trying to do!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list