[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 Nov 8 16:39:08 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20750
Andrew Isherwood <andrew.isherwood at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #82085|0 |1
is obsolete| |
--- Comment #37 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
Created attachment 82099
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82099&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