https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37398
--- Comment #26 from Jonathan Druart <[email protected]> --- + 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. -- 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/
