@@ -, +, @@ get_shelves_containing_record --- Koha/Virtualshelves.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Koha/Virtualshelves.pm +++ a/Koha/Virtualshelves.pm @@ -154,7 +154,7 @@ sub get_shelves_containing_record { }, { join => [ 'virtualshelfcontents', 'virtualshelfshares' ], - group_by => 'shelfnumber', + distinct => 'shelfnumber', order_by => { -asc => 'shelfname' }, } ); --