[Koha-bugs] [Bug 29815] Pre-populate 'Date acquired' field when adding/editing items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jun 4 19:23:54 CEST 2022


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

--- Comment #17 from Andrew Nugged <nugged at gmail.com> ---
"Pre-populate 'Date acquired'" was the target, but not the plugin in general.

So because of this it covers much more, and those extras are not expected nor
desirable:

1. this code in the ticket prepopulates ANY field to which the plugin added.
Wrong behavior. This plugin is not aimed to be ONLY for the 'Date acquired'
field.

2. It also silenltly prepopulates the field in edit mode when it is expected to
be empty by the wish of the librarian.

3. It also prepopulates fields for item batch edit form, which is even more
undesired to be so.

These ticket changes need to be reverted.
Maybe re-thought for the solution needed later, but now it makes problems. For
example, I released a quick patch for all productions which went to Koha 22.05
because of the above 3 bad effects.

Later - this might be, but the more complicated solution, as Marcel de Rooy
said: the plugin should be aware in which context it is executed, but even with
this, this requires to be with some preferences at least: after checking on
production libraries most said this is not their wish to have this autofill,
they ok to press "..." (three dots on the right to call plugin's 'today date
fill' feature).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list