[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
Fri Jan 18 15:33:21 CET 2019


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

Andrew Isherwood <andrew.isherwood at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #82502|0                           |1
        is obsolete|                            |

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