[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 Feb 28 12:20:32 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20750
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #85698|0 |1
is obsolete| |
--- Comment #115 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 85830
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=85830&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
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list