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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to