[Koha-bugs] [Bug 34234] Item groups dropdown in detail page modal does not respect display order
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 12 09:55:06 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34234
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
--- Comment #13 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Replace
[% FOREACH ig IN biblio.item_groups %]
With
[% FOREACH ig IN biblio.item_groups.search({}, {order_by => 'display_order'})
%]
And you are done. I really don't understand the need of a TT plugin for that
purpose.
You could suggest a Koha::Biblio::ItemGroups->search_ordered method however.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list