[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
Fri Jun 3 12:02:46 CEST 2022


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

Peter Vashchuk <stalkernoid at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #135582|0                           |1
        is obsolete|                            |

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

Don't use set_to_today function that 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