[Koha-bugs] [Bug 29963] date picker automatically fills todays date on cataloging screens

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 2 13:48:50 CEST 2022


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

--- Comment #6 from Peter Vashchuk <stalkernoid at gmail.com> ---
Created attachment 135581
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135581&action=edit
Bug 29963: remove set_to_today function from dateaccessioned.pl

Removed the function that wasn't used anywhere outside of
dateaccessioned.pl, as it was causing inconveniences when user
was trying to edit items in batch, it would constantly set
Date Acquired field to today's date which created the need for user to
constantly manually clear the field, so that it doesn't overwrite the
original Acquired date.

When you add item without specifying any date for Date Acquired it
automatically sets the today's date for it so this change doesn't seem
to break any logic there.

And when you try to edit item with already set Date Acquired before
it will show the previously defined date, not disrupting anything here
as well.

To reproduce:
1. Edit items in batch for any biblio, see that "d - Date acquired"
field is automatically set to current day's date.
2. Apply the patch
3. "d - Date acquired" should be empty after that.
4. Additionally, go to the additem.pl to edit single item and check that it
correctly shows
Date acquired in that field.

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


More information about the Koha-bugs mailing list