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

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