Bug 19595: Clicking plugin link does not fill item's date acquired field
authorOwen Leonard <oleonard@myacpl.org>
Fri, 10 Nov 2017 12:59:58 +0000 (12:59 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 7 Dec 2017 13:09:51 +0000 (10:09 -0300)
commit0c4d23a1936fd1b5a06219e3914f8ca76ef01c10
tree69a3ad3a6daf6079fa0b0f95c226fd83d5f06bfa
parent7d77fbd79fc85f9dae92eee2609b570a43a61d29
Bug 19595: Clicking plugin link does not fill item's date acquired field

This patch updates the dateaccessioned plugin for the item edit form to
return functionality which was removed in a previous patch.

To test, apply the patch and open an item for editing. Clicking the
"..." link next to the "Date acquired" field should insert the current
date, overwriting the existing date.

Open a blank item add form. Putting the cursor in the "Date acquired"
field should automatically insert the current date.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Added a comment line in set_to_today.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
cataloguing/value_builder/dateaccessioned.pl