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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/