Bug 38001

Summary: Remove dateaccessioned.pl plugin
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: magnus
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 37398    
Bug Blocks:    

Description Lucas Gass (lukeg) 2024-09-24 17:55:34 UTC
This is a follow-up to Bug 37398. Do we need to keep the date accessioned plugin for any reason?
Comment 1 Magnus Enger 2024-09-25 06:25:27 UTC
What does the date accessioned plugin do? Does it automatically fill in the current date when you click in the field? Can the datepicker do that?
Comment 2 Lucas Gass (lukeg) 2024-09-25 13:56:49 UTC
(In reply to Magnus Enger from comment #1)
> What does the date accessioned plugin do? Does it automatically fill in the
> current date when you click in the field? Can the datepicker do that?

Dateaccessioned plugin initializes a flatpickr and also does set_to_today when you click on one of the empty date fields. 

I move this functionality to calendar.inc:

https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=171881&action=diff