[Bug 39148] New: Lists are incorrectly sorted in UNIMARC (OPAC follow up)
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Bug ID: 39148 Summary: Lists are incorrectly sorted in UNIMARC (OPAC follow up) Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: trivial Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: baptiste.wojtkowski@biblibre.com QA Contact: testopia@bugs.koha-community.org Bug 37434 did address the problem of lists incorrectly sorted for Intranet. We also need to address it for the OPAC Steps to reproduce : 1 - Log in to an UNIMARC instance of Koha 2 - Create a public list with items with different publication date and sort it by publication date 3 - Go to the OPAC and click on List -> <your list> It should be unordered -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|oleonard@myacpl.org |koha-bugs@lists.koha-commun | |ity.org -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |baptiste.wojtkowski@biblibr |ity.org |e.com -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 --- Comment #1 from Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> --- Created attachment 181500 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=181500&action=edit Bug 39148: Correct sort by publicationdate in OPAC lists Test plan (UNIMARC): 1 - Create a list with different publicationdates, chose to sort it by copyright gate 2 - Go to the list in the OPAC -> it is not correctly sorted 3 - Pick sort order: copyright date -> not correctly sorted 4 - Apply patch 5 - Retry 2&3 and see it works -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Roman Dolny <roman.dolny@jezuici.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roman.dolny@jezuici.pl Status|Needs Signoff |Failed QA --- Comment #2 from Roman Dolny <roman.dolny@jezuici.pl> --- It works as described in test plan, but comparison operators need to be adjust to string -- plack-opac-error.log says: [2025/04/25 11:53:37] [WARN] Argument "copyrightdate" isn't numeric in numeric eq (==) at /kohadevbox/koha/opac/opac-shelves.pl. [2025/04/25 11:53:37] [WARN] Argument "title" isn't numeric in numeric eq (==) at /kohadevbox/koha/opac/opac-shelves.pl line 3. [2025/04/25 11:53:37] [WARN] Argument "UNIMARC" isn't numeric in numeric eq (==) at /kohadevbox/koha/opac/opac-shelves.pl line3. [2025/04/25 11:53:37] [WARN] Argument "UNIMARC" isn't numeric in numeric eq (==) at /kohadevbox/koha/opac/opac-shelves.pl line3. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #181500|0 |1 is obsolete| | --- Comment #3 from Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> --- Created attachment 181508 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=181508&action=edit Bug 39148: Correct sort by publicationdate in OPAC lists Test plan (UNIMARC): 1 - Create a list with different publicationdates, chose to sort it by copyright gate 2 - Go to the list in the OPAC -> it is not correctly sorted 3 - Pick sort order: copyright date -> not correctly sorted 4 - Apply patch 5 - Retry 2&3 and see it works -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Roman Dolny <roman.dolny@jezuici.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Roman Dolny <roman.dolny@jezuici.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #181508|0 |1 is obsolete| | --- Comment #4 from Roman Dolny <roman.dolny@jezuici.pl> --- Created attachment 181527 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=181527&action=edit Bug 39148: Correct sort by publicationdate in OPAC lists Test plan (UNIMARC): 1 - Create a list with different publicationdates, chose to sort it by copyright gate 2 - Go to the list in the OPAC -> it is not correctly sorted 3 - Pick sort order: copyright date -> not correctly sorted 4 - Apply patch 5 - Retry 2&3 and see it works Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #181527|0 |1 is obsolete| | --- Comment #5 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 182257 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182257&action=edit Bug 39148: Correct sort by publicationdate in OPAC lists Test plan (UNIMARC): 1 - Create a list with different publicationdates, chose to sort it by copyright gate 2 - Go to the list in the OPAC -> it is not correctly sorted 3 - Pick sort order: copyright date -> not correctly sorted 4 - Apply patch 5 - Retry 2&3 and see it works Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |martin.renvoize@openfifth.c |y.org |o.uk CC| |martin.renvoize@openfifth.c | |o.uk Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Lists are incorrectly |Lists are incorrectly |sorted in UNIMARC (OPAC |sorted in UNIMARC (OPAC |follow up) |follow-up) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |25.05.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Pushed for 25.05! Well done everyone, thank you! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Pushed to stable Version(s)|25.05.00 |25.05.00,24.11.08 released in| | --- Comment #7 from Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> --- Pushed into 24.11.x for 24.11.08 nice work everyone -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39148 Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to stable |Needs documenting --- Comment #8 from Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> --- Not backporting to 22.11.x as it wasn't backported to 24.05.x -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org