Lines 703-709
subtest "_convert_sort_fields() tests" => sub {
Link Here
|
703 |
is_deeply( |
703 |
is_deeply( |
704 |
\@sort_by, |
704 |
\@sort_by, |
705 |
[ |
705 |
[ |
706 |
{ field => 'local-classification', direction => 'asc' }, |
706 |
{ field => 'cn-sort', direction => 'asc' }, |
707 |
{ field => 'author', direction => 'desc' } |
707 |
{ field => 'author', direction => 'desc' } |
708 |
], |
708 |
], |
709 |
'sort fields should have been split correctly' |
709 |
'sort fields should have been split correctly' |
Lines 714-720
subtest "_convert_sort_fields() tests" => sub {
Link Here
|
714 |
is_deeply( |
714 |
is_deeply( |
715 |
\@sort_by, |
715 |
\@sort_by, |
716 |
[ |
716 |
[ |
717 |
{ field => 'local-classification', direction => 'asc' }, |
717 |
{ field => 'cn-sort', direction => 'asc' }, |
718 |
{ field => 'author', direction => 'desc' } |
718 |
{ field => 'author', direction => 'desc' } |
719 |
], |
719 |
], |
720 |
'sort fields should have been split correctly' |
720 |
'sort fields should have been split correctly' |
721 |
- |
|
|