diff --git a/C4/Utils/DataTables/VirtualShelves.pm b/C4/Utils/DataTables/VirtualShelves.pm index 8100a65591..2c4c1628e1 100644 --- a/C4/Utils/DataTables/VirtualShelves.pm +++ b/C4/Utils/DataTables/VirtualShelves.pm @@ -83,7 +83,6 @@ sub search { if ($order_by) { - my @order_by; $order_by =~ s|shelfnumber|vs.shelfnumber|; my @sanitized_orderbys; for my $order ( split ',', $order_by ) {