|
Lines 668-673
ok(MARC::Record::new_from_xml($results_hashref->{biblioserver}->{RECORDS}->[0],'
Link Here
|
| 668 |
$query_type ) = buildQuery([], [ 0 ], [ 'su,phr' ], [], [], 0, 'en'); |
668 |
$query_type ) = buildQuery([], [ 0 ], [ 'su,phr' ], [], [], 0, 'en'); |
| 669 |
is($query, 'su,phr=0 ', 'buildQuery should keep 0 value'); |
669 |
is($query, 'su,phr=0 ', 'buildQuery should keep 0 value'); |
| 670 |
|
670 |
|
|
|
671 |
# Bug 23086 |
| 672 |
( $error, $query, $simple_query, $query_cgi, |
| 673 |
$query_desc, $limit, $limit_cgi, $limit_desc, |
| 674 |
$query_type ) = buildQuery([], [], [], [ 'mc-ccode:NF(IC'], [], 0, 'en'); |
| 675 |
like($query, qr/ccode="NF\(IC"/, "Limit quoted correctly"); |
| 676 |
|
| 671 |
# Let's see what happens when we pass bad data into these routines. |
677 |
# Let's see what happens when we pass bad data into these routines. |
| 672 |
# We have to catch warnings since we're not very good about returning errors. |
678 |
# We have to catch warnings since we're not very good about returning errors. |
| 673 |
|
679 |
|
|
Lines 906-912
sub run_unimarc_search_tests {
Link Here
|
| 906 |
} |
912 |
} |
| 907 |
|
913 |
|
| 908 |
subtest 'MARC21 + DOM' => sub { |
914 |
subtest 'MARC21 + DOM' => sub { |
| 909 |
plan tests => 87; |
915 |
plan tests => 88; |
| 910 |
run_marc21_search_tests(); |
916 |
run_marc21_search_tests(); |
| 911 |
}; |
917 |
}; |
| 912 |
|
918 |
|
| 913 |
- |
|
|