[Koha-bugs] [Bug 12354] Prevent reserving items based on item field values
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 3 07:59:26 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12354
--- Comment #1 from paxed <pasi.kallinen at pttk.fi> ---
Created attachment 28630
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28630&action=edit
Add a system preference PreventItemHoldsFieldvalues
Bug 12354 - Prevent reserving items based on item field values
Add a system preference PreventItemHoldsFieldvalues, which is
a pipe-delimited list of "fieldname=value", where fieldname is
one of the fields from items -table in the database. If
the field has the exact value, the item cannot be reserved.
For example, "ccode=PILA|location=OHE" would prevent reserving
the item if it's collection code is 'PILA' or if it's location is 'OHE'.
To test:
1) Go to the page where you put a hold on an item, and look
at the list of items. Note which ones are available for hold
and which ones aren't.
2) Apply patch, set the syspref value to eg. homebranch=FOO|biblionumber=12345
3) Check that items with homebranch FOO or items for biblio 12345
cannot be reserved by patrons, and need override permission for staff
to reserve.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list