From: Terran McCanna Date: Fri, 3 Dec 2021 22:12:59 +0000 (-0500) Subject: PINES OPAC Holdings Sorting X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=74c1c67a0cf95462e5cceaf8264ed6ec91619baf;p=evergreen%2Fpines.git PINES OPAC Holdings Sorting This adds back the customization to sort holdings by system before sorting by branch. Signed-off-by: Terran McCanna --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm index 38e43814ed..e6cb0fb4e0 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm @@ -409,6 +409,10 @@ sub mk_copy_query { }; }; + # PINES customization to sort by system first + unshift(@{$query->{order_by}}, { class => 'parent', field => 'name' }); + + my $ou_sort_param = [$org, $pref_ou ]; if ($coords && ref($coords)