Lines 696-702
subtest "_convert_sort_fields() tests" => sub {
Link Here
|
696 |
is_deeply( |
696 |
is_deeply( |
697 |
\@sort_by, |
697 |
\@sort_by, |
698 |
[ |
698 |
[ |
699 |
{ field => 'local-classification', direction => 'asc' }, |
699 |
{ field => 'cn-sort', direction => 'asc' }, |
700 |
{ field => 'author', direction => 'desc' } |
700 |
{ field => 'author', direction => 'desc' } |
701 |
], |
701 |
], |
702 |
'sort fields should have been split correctly' |
702 |
'sort fields should have been split correctly' |
Lines 707-713
subtest "_convert_sort_fields() tests" => sub {
Link Here
|
707 |
is_deeply( |
707 |
is_deeply( |
708 |
\@sort_by, |
708 |
\@sort_by, |
709 |
[ |
709 |
[ |
710 |
{ field => 'local-classification', direction => 'asc' }, |
710 |
{ field => 'cn-sort', direction => 'asc' }, |
711 |
{ field => 'author', direction => 'desc' } |
711 |
{ field => 'author', direction => 'desc' } |
712 |
], |
712 |
], |
713 |
'sort fields should have been split correctly' |
713 |
'sort fields should have been split correctly' |
714 |
- |
|
|