View | Details | Raw Unified | Return to bug 30824
Collapse All | Expand All

(-)a/C4/Items.pm (-2 / +5 lines)
Lines 141-154 sub CartToShelf { Link Here
141
Given a MARC::Record object containing an embedded item
141
Given a MARC::Record object containing an embedded item
142
record and a biblionumber, create a new item record.
142
record and a biblionumber, create a new item record.
143
143
144
The final optional parameter, C<$params>, expected to contain
144
The final optional parameter, C<$params>, may contain
145
'skip_record_index' key, which relayed down to Koha::Item/store,
145
'skip_record_index' key, which relayed down to Koha::Item/store,
146
there it prevents calling of index_records,
146
there it prevents calling of index_records,
147
which takes most of the time in batch adds/deletes: index_records
147
which takes most of the time in batch adds/deletes: index_records
148
to be called later in C<additem.pl> after the whole loop.
148
to be called later in C<additem.pl> after the whole loop.
149
149
150
You may also optionally pass biblioitemnumber in the params hash to 
151
boost performance of inserts by preventing a lookup in Koha::Item.
152
150
$params:
153
$params:
151
    skip_record_index => 1|0
154
    skip_record_index => 1|0
155
    biblioitemnumber => $biblioitemnumber
152
156
153
=cut
157
=cut
154
158
155
- 

Return to bug 30824