https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37398
--- Comment #27 from Lucas Gass <[email protected]> --- (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. _______________________________________________ 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/
