Bug 23757 - Able to delete patron expiration date
Summary: Able to delete patron expiration date
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-05 21:28 UTC by Joy Nelson
Modified: 2022-11-17 00:38 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joy Nelson 2019-10-05 21:28:01 UTC
Users can delete/clear out the dateexpiry (patron expiration date) in the Batch Patron Modification tool. Koha needs a patron expiration date and will autocalculate a new patron expiration date when that patron is next modified.

Can we remove the 'clear' feature on the expiration date for Patron batch modification?
Comment 1 Owen Leonard 2019-10-15 17:09:17 UTC
The "clear" link deletes the date in the field but doing so shouldn't have any affect on the batch update--empty values are assumed to be unchanged.

So I assume it's the "delete value" checkbox which is in question. We can make a quick change to the template to hide it for the expiration date field but I wonder if a more complete fix wouldn't be to make the batch patron modification tool auto-calculate the expiration date if the user checked the "delete value" check box? I feel like that would make the process more consistent to the way editing an individual patron works.
Comment 2 Joy Nelson 2019-10-15 17:30:23 UTC
Yes please.  I like this solution.  +1

> make the batch patron
> modification tool auto-calculate the expiration date if the user checked the
> "delete value" check box? I feel like that would make the process more
> consistent to the way editing an individual patron works.
Comment 3 Andrew Fuerste-Henry 2022-08-24 14:33:56 UTC
+1, yes please, we would like Koha to auto-calculate new expiration dates when clearing existing dates via batch patron modification.
Comment 4 Katrin Fischer 2022-11-17 00:38:03 UTC
(In reply to Andrew Fuerste-Henry from comment #3)
> +1, yes please, we would like Koha to auto-calculate new expiration dates
> when clearing existing dates via batch patron modification.

Maybe a workaround could be bug 27920