Lines 490-496
sub _convert_sort_fields {
Link Here
|
490 |
|
490 |
|
491 |
# Convert the fields and orders, drop anything we don't know about. |
491 |
# Convert the fields and orders, drop anything we don't know about. |
492 |
grep { $_->{field} } map { |
492 |
grep { $_->{field} } map { |
493 |
my ( $f, $d ) = split /_/; |
493 |
my ( $f, $d ) = /(.+)_(.+)/; |
494 |
{ |
494 |
{ |
495 |
field => $sort_field_convert{$f}, |
495 |
field => $sort_field_convert{$f}, |
496 |
direction => $sort_order_convert{$d} |
496 |
direction => $sort_order_convert{$d} |
497 |
- |
|
|