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