[Bug 40667] New: Koha does not sort local cover images the same for for staff/OPAC detail pages
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40667 Bug ID: 40667 Summary: Koha does not sort local cover images the same for for staff/OPAC detail pages Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: lucas@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org In OPAC detail: $template->param( localimages => $biblio->cover_images ); We get local images in no particular order. In Staff detail: $template->param( localimages => $biblio->cover_images->search( {}, { order_by => [ \"COALESCE(itemnumber, 0, 1)", 'timestamp' ] } ), ); We order the images, first by itemnumber and secondary sort on timestamp. These should be the same so that the images appear the same in both staff/OPAC. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org