[Koha-bugs] [Bug 12354] New: 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:57:28 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12354
Bug ID: 12354
Summary: Prevent reserving items based on item field values
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Hold requests
Assignee: koha-bugs at lists.koha-community.org
Reporter: pasi.kallinen at pttk.fi
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com
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 the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list