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

Peter Vashchuk <[email protected]> changed:

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

--- Comment #7 from Peter Vashchuk <[email protected]> ---
Created attachment 135582
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135582&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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to