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

Nick Clemens (kidclamp) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #166140|0                           |1
        is obsolete|                            |
 Attachment #166141|0                           |1
        is obsolete|                            |

--- Comment #5 from Nick Clemens (kidclamp) <[email protected]> ---
Created attachment 166397
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166397&action=edit
Bug 34263: Suspending holds consecutively populates previously used date
falsely

Suspending a hold doesn't clear the date from the date picker. When another
hold is suspended
the previously used date will show on the date picker but the value is not set
on the hold.
Suspending the hold will suspend it indefinitely. Also the link "Clear date to
suspend indefinitely"
will not clear the date picker. This patch will make both the Suspend button
and the Clear date link
clear the dates from both the date picker and the variable passed on, making
the suspending consistent
with what is seen on the date picker.

Test plan:
1) Place 3 holds on a patron.
2) Suspend a hold and set a date for it.
3) Suspend a second hold and notice the previously used date is shown on the
date picker.
   Note that the hold will be suspended indefinitely.
4) Open the suspending window for the third hold and pick a date. Click "Clear
date to suspend indefinitely"
   and note the date picker doesn't get cleared. The hold will be suspended
indefinitely.
5) Apply patch.
6) Suspend a hold and set a date for it.
7) Suspend a second hold and notice the date picker does not have a preset
date.
8) Pick a date and clear it with the "Clear date to suspend indefinitely link".
   See that the date picker also gets cleared.

Signed-off-by: Pedro Amorim <[email protected]>
Signed-off-by: Nick Clemens <[email protected]>

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