From 52e3356fb1a30929435c5a41507713b615528b4f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 9 Mar 2026 13:59:19 -0400 Subject: [PATCH] Bug 35484: (follow-up) Add biblio.title sort to the "Next items" query --- C4/ShelfBrowser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/ShelfBrowser.pm b/C4/ShelfBrowser.pm index 8b0a6c78ffc..bfe4a9ab076 100644 --- a/C4/ShelfBrowser.pm +++ b/C4/ShelfBrowser.pm @@ -180,7 +180,7 @@ sub GetNearbyItems { }; my @next_items = @{ $dbh->selectall_arrayref( - $next_query . $query_cond . ' ORDER BY items.cn_sort, itemnumber LIMIT ?', + $next_query . $query_cond . ' ORDER BY items.cn_sort, biblio.title LIMIT ?', { Slice => {} }, ( @params, $gap + 1 ) ) -- 2.39.5