[Koha-bugs] [Bug 17519] Item editor handles clearing dateaccessioned and replacementpricedate inconsistently

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 14 17:01:28 CET 2017


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

--- Comment #11 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Katrin Fischer from comment #10)
> We have trained libraries that they don't have to fill out the field because
> Koha does it in the background automatically. I was wondering, because this
> patch talks about clearing the field. At the moment it's simply not possible
> to have an item without a dateaccessioned which is often used as creation
> data in various reports.

No, this does not affect adding an item with an empty date. The sub
_set_defaults_for_add will default dateaccessioned to today.
The change is in ModItemFromMarc. If the user cleared the date when modifying
an item, this change was not picked up. Now it is possible just as it already
was for replacementpricedate.

Note that we are still not 100% consistent imo. Only a little bit more ;)
If we want a default in dateaccessioned, we should better take care of that in
the interface rather than doing it invisibly in a set_defaults sub. Why should
a user understand that we fill dateaccessioned but we do not fill
replacementpricedate? But that is a topic for another report..

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


More information about the Koha-bugs mailing list