Lines 720-728
sub _convert_sort_fields {
Link Here
|
720 |
# Convert the fields and orders, drop anything we don't know about. |
720 |
# Convert the fields and orders, drop anything we don't know about. |
721 |
grep { $_->{field} } map { |
721 |
grep { $_->{field} } map { |
722 |
my ( $f, $d ) = /(.+)_(.+)/; |
722 |
my ( $f, $d ) = /(.+)_(.+)/; |
723 |
{ |
723 |
if ( $f && $d ) { |
724 |
field => $sort_field_convert{$f}, |
724 |
{ |
725 |
direction => $sort_order_convert{$d} |
725 |
field => $sort_field_convert{$f}, |
|
|
726 |
direction => $sort_order_convert{$d}, |
727 |
} |
726 |
} |
728 |
} |
727 |
} @sort_by; |
729 |
} @sort_by; |
728 |
} |
730 |
} |
729 |
- |
|
|