checkouts: Use of uninitialized value in string comparison (cmp) at /usr/share/kohaclone/svc/checkouts line 211
Hi Marc, how can I recreate this bug?
Hi Aleisha, I can no longer reproduce the warning. Line 211 in svc/checkouts is empty at current master. However some lines below there are comparisions with C4::Context->preference('todaysIssuesDefaultSortOrder') and C4::Context->preference('previousIssuesDefaultSortOrder') There are small differences in the way the sysprefs are defined in koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref after line 27. I do not think that they were the reason for the warning, but I document it for the records: - - Sort previous checkouts on the circulation page from - pref: previousIssuesDefaultSortOrder choices: asc: earliest to latest desc: latest to earliest - due date. - - "Sort today's checkouts on the circulation page from" - pref: todaysIssuesDefaultSortOrder type: choice choices: asc: earliest to latest desc: latest to earliest - due date.
Can no longer trigger the warning on current master.