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

--- Comment #10 from Laura Escamilla <[email protected]> ---
Test plan: 
1. Go to place a hold for a patron. Under "Hold next available item," the
"Holds to place (count)" field should default to 1.
Before applying the patch,
this input:
    * Has no maximum limit
    * Allows entry of any number, even extremely high values
    * Does not show a confirmation prompt
2. Apply the patch.
3. Repeat step 1. Now:
    * The maximum number of holds allowed is based on the holds_per_record
circulation rule
        * If holds_per_record is set (e.g., 2), you cannot enter more than that
        * If it's blank (meaning unlimited), no max is set
    * A note appears under the input:
        * “The maximum number of holds to place is 2.” (or whatever the rule
is)
        * Or: “There is no set maximum for holds.” if blank
    * If you enter more than 1, you will see a confirmation prompt:
        * “Are you sure you want to place 3 hold(s)?”
    * If you enter 1 hold, it proceeds without prompting
4. Try entering 0 or leaving the field blank:
    * The minimum is enforced as 1
    * The system defaults back to placing 1 hold
5. Confirm that the input box:
    * Allows up/down arrows if a numeric max is set
    * Behaves correctly with keyboard input
    * Respects the configured circulation rule
6. Sign off and have an amazing day! 🎉

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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