Lines 641-647
ok(MARC::Record::new_from_xml($results_hashref->{biblioserver}->{RECORDS}->[0],'
Link Here
|
641 |
( $error, $query, $simple_query, $query_cgi, |
641 |
( $error, $query, $simple_query, $query_cgi, |
642 |
$query_desc, $limit, $limit_cgi, $limit_desc, |
642 |
$query_desc, $limit, $limit_cgi, $limit_desc, |
643 |
$query_type ) = buildQuery([], [ 0 ], [ 'su,phr' ], [], [], 0, 'en'); |
643 |
$query_type ) = buildQuery([], [ 0 ], [ 'su,phr' ], [], [], 0, 'en'); |
644 |
is($query, 'su,phr=(rk=(0)) ', 'buildQuery should keep 0 value'); |
644 |
is($query, 'su,phr=(rk=(0)) ', 'buildQuery should keep 0 value in query'); |
|
|
645 |
is($query_cgi, 'idx=su%2Cphr&q=0', 'buildQuery should keep 0 value in query_cgi'); |
646 |
is($query_desc, 'su,phr: 0', 'buildQuery should keep 0 value in query_desc'); |
645 |
|
647 |
|
646 |
# Bug 23086 |
648 |
# Bug 23086 |
647 |
( $error, $query, $simple_query, $query_cgi, |
649 |
( $error, $query, $simple_query, $query_cgi, |
Lines 899-905
sub run_unimarc_search_tests {
Link Here
|
899 |
} |
901 |
} |
900 |
|
902 |
|
901 |
subtest 'MARC21 + DOM' => sub { |
903 |
subtest 'MARC21 + DOM' => sub { |
902 |
plan tests => 88; |
904 |
plan tests => 90; |
903 |
run_marc21_search_tests(); |
905 |
run_marc21_search_tests(); |
904 |
}; |
906 |
}; |
905 |
|
907 |
|
906 |
- |
|
|