Bug 34913: Fix perlcritic for VirtualShelves.pm
C4/Utils/DataTables/VirtualShelves.pm: "@order_by" is declared but not used at line 86, column 9. Unused variables clutter code and make it harder to read. (Severity: 3) Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
1f5d1beddd
commit
0c96e57b0c
1 changed files with 0 additions and 1 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue