https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37398 --- Comment #27 from Lucas Gass <lucas@bywatersolutions.com> --- (In reply to Jonathan Druart from comment #26)
+ if ($subfield->{kohafield} =~ /items\.(replacementpricedate|dateaccessioned|datelastborrowed|onloan)/) { + $subfield_data{datetype} = 'date'; + } + + if ($subfield->{kohafield} =~ /items\.(datelastseen|damaged_on|itemlost_on|withdrawn_on|deleted_on)/) { + $subfield_data{datetype} = 'datetime'; + }
I think I would much prefer to see something generic that this list of fields.
See the last patch, for discussion.
This had crossed my mind. I agree with the change, Jonathan. Thanks. -- You are receiving this mail because: You are watching all bug changes.