[Koha-bugs] [Bug 20750] Allow timestamped auditing of ILL request events

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 18 17:10:49 CEST 2018


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

--- Comment #29 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
Created attachment 80860
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80860&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.


More information about the Koha-bugs mailing list