remove unused order by

This commit is contained in:
Tom Bloor 2019-07-14 19:43:09 +01:00
parent d661ab5996
commit 4d3aca2457
No known key found for this signature in database
GPG key ID: 4657C7EBE42CC5CC

View file

@ -64,7 +64,6 @@ sub post_lcc_suppliers {
my $order_by = [ my $order_by = [
{ -asc => 'organisation.name' }, { -asc => 'organisation.name' },
{ -asc => 'seller.id' },
]; ];
if ( $v->param('sort_by') ) { if ( $v->param('sort_by') ) {
my %dirs = ( 'asc' => '-asc', 'desc' => '-desc' ); my %dirs = ( 'asc' => '-asc', 'desc' => '-desc' );