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

--- Comment #50 from Brendan Lawlor <[email protected]> ---
Created attachment 206816
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206816&action=edit
Bug 39419: (follow-up) Set both expiration dates when placing holds in opac and
staff interface

This patch sets both the expirationdate and patron_expiration date when placing
holds
in the opac and staff interface as is consistent with current behavior.

Test plan:
1. Place some holds:
   a) in the staff interface with setting a 'Hold expires on date'
   b) in the opac with setting a 'Hold not needed after'
2. Run this query in ktd --dbshell
   select borrowernumber, expirationdate, patron_expiration_date from reserves;
3. Note both expirationdate and patron_expiration_date are set in the holds

Note: Editing the date in the Expiration column on the records' Holds tab
only updates the expirationdate, which is consistent with current behavior.

Sponsored-by: CLAMS
Signed-off-by: Andrew Fuerste Henry <[email protected]>

Signed-off-by: Jonathan Druart <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to