[Koha-bugs] [Bug 18067] New: smart-rules.pl holds per record needs to be smarter

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 6 20:14:36 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18067

            Bug ID: 18067
           Summary: smart-rules.pl holds per record needs to be smarter
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: System Administration
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: cbrannon at cdalibrary.org
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

The holds per record value should not be allowed to be zero if holds allowed is
set to 1 or greater.  If holds per record has a value of zero, a hold can't be
placed on that Patron/Item regardless of what value the holds allowed is set
to.

To test:
* Create a rule with holds allowed set to any number greater than zero and
holds per record set to zero
* Try to place a hold on an item.  Note that you are not allowed.
* Change the rule to allow 1 hold per record.
* Try to place a hold again on an item.  This time the hold is allowed.

The rules make sense as they are, but it doesn't make sense to give holds
allowed a value, and then have holds per record contradict it.

Christopher

-- 
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