https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20750
Andrew Isherwood <andrew.isherw...@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #84974|0 |1 is obsolete| | --- Comment #84 from Andrew Isherwood <andrew.isherw...@ptfs-europe.com> --- Created attachment 85698 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=85698&action=edit Bug 20750: (follow-up) Fix sorting of log entries The log entries are received from C4::Log::GetLogs with their timestamps formatted as '2018-18-10 16:09:29', this doesn't sort well. In fact, it causes a warning in the Koha logs: Argument "2018-10-04 15:48:15" isn't numeric in numeric comparison (<=>) at /home/koha/kohaclone/Koha/Illrequest/Logger.pm line 231 This patch converts the timestamps to be sorted into epoch dates prior to them being compared -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/