|
Lines 59-64
my (
Link Here
|
| 59 |
$start_accession, |
59 |
$start_accession, |
| 60 |
$end_accession, |
60 |
$end_accession, |
| 61 |
$marc_conditions, |
61 |
$marc_conditions, |
|
|
62 |
$set_deleted_marc_conditions, |
| 62 |
$embed_see_from_headings, |
63 |
$embed_see_from_headings, |
| 63 |
$report_id, |
64 |
$report_id, |
| 64 |
@report_params, |
65 |
@report_params, |
|
Lines 91-96
GetOptions(
Link Here
|
| 91 |
'start_accession=s' => \$start_accession, |
92 |
'start_accession=s' => \$start_accession, |
| 92 |
'end_accession=s' => \$end_accession, |
93 |
'end_accession=s' => \$end_accession, |
| 93 |
'marc_conditions=s' => \$marc_conditions, |
94 |
'marc_conditions=s' => \$marc_conditions, |
|
|
95 |
'set_deleted_marc_conditions=s' => \$set_deleted_marc_conditions, |
| 94 |
'embed_see_from_headings' => \$embed_see_from_headings, |
96 |
'embed_see_from_headings' => \$embed_see_from_headings, |
| 95 |
'report_id=s' => \$report_id, |
97 |
'report_id=s' => \$report_id, |
| 96 |
'report_param=s' => \@report_params, |
98 |
'report_param=s' => \@report_params, |
|
Lines 181-186
my @marc_conditions;
Link Here
|
| 181 |
if ($marc_conditions) { |
183 |
if ($marc_conditions) { |
| 182 |
@marc_conditions = _parse_marc_conditions($marc_conditions); |
184 |
@marc_conditions = _parse_marc_conditions($marc_conditions); |
| 183 |
} |
185 |
} |
|
|
186 |
my @set_deleted_marc_conditions; |
| 187 |
if ($set_deleted_marc_conditions) { |
| 188 |
@set_deleted_marc_conditions = _parse_marc_conditions($set_deleted_marc_conditions); |
| 189 |
} |
| 184 |
|
190 |
|
| 185 |
my $dbh = C4::Context->dbh; |
191 |
my $dbh = C4::Context->dbh; |
| 186 |
|
192 |
|
|
Lines 373-378
if ($deleted_barcodes) {
Link Here
|
| 373 |
record_type => $record_type, |
379 |
record_type => $record_type, |
| 374 |
record_ids => \@record_ids, |
380 |
record_ids => \@record_ids, |
| 375 |
record_conditions => @marc_conditions ? \@marc_conditions : undef, |
381 |
record_conditions => @marc_conditions ? \@marc_conditions : undef, |
|
|
382 |
set_deleted_record_conditions => @set_deleted_marc_conditions ? \@set_deleted_marc_conditions : undef, |
| 376 |
deleted_record_ids => \@deleted_record_ids, |
383 |
deleted_record_ids => \@deleted_record_ids, |
| 377 |
format => $output_format, |
384 |
format => $output_format, |
| 378 |
csv_profile_id => $csv_profile_id, |
385 |
csv_profile_id => $csv_profile_id, |
|
Lines 519-524
Print a brief help message.
Link Here
|
| 519 |
"exists(<marc_target>)" will include marc records where |
526 |
"exists(<marc_target>)" will include marc records where |
| 520 |
no <marc_target> exists. |
527 |
no <marc_target> exists. |
| 521 |
|
528 |
|
|
|
529 |
=item B<--set_deleted_marc_conditions> |
| 530 |
|
| 531 |
--set_deleted_marc_conditions=CONDITIONS Set record deleted flag for biblios with MARC |
| 532 |
data matching CONDITIONS.Only include biblios with MARC data matching CONDITIONS. |
| 533 |
See --marc_conditions for more information about the CONDITIONS format. |
| 534 |
|
| 522 |
=item B<--embed_see_from_headings> |
535 |
=item B<--embed_see_from_headings> |
| 523 |
|
536 |
|
| 524 |
--embed_see_from_headings Embed see from (non-preferred form) headings in bibliographic record. |
537 |
--embed_see_from_headings Embed see from (non-preferred form) headings in bibliographic record. |