Lines 144-150
if ( $op eq "export" ) {
Link Here
|
144 |
), |
144 |
), |
145 |
|
145 |
|
146 |
}; |
146 |
}; |
147 |
my $biblioitems = Koha::Biblioitems->search( $conditions, { join => 'items', columns => 'biblionumber' } ); |
147 |
|
|
|
148 |
my $join_on_items = |
149 |
@branchcodes |
150 |
|| $start_callnumber |
151 |
|| $end_callnumber |
152 |
|| $start_accession |
153 |
|| $end_accession |
154 |
|| ( $itemtype && C4::Context->preference('item-level_itypes') ); |
155 |
|
156 |
my $biblioitems = Koha::Biblioitems->search( $conditions, { ( $join_on_items ? ( join => 'items' ) : () ), columns => 'biblionumber' } ); |
148 |
while ( my $biblioitem = $biblioitems->next ) { |
157 |
while ( my $biblioitem = $biblioitems->next ) { |
149 |
push @record_ids, $biblioitem->biblionumber; |
158 |
push @record_ids, $biblioitem->biblionumber; |
150 |
} |
159 |
} |
151 |
- |
|
|