Bugzilla – Attachment 135308 Details for
Bug 30824
Improve performance of BatchCommitItems
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30824: (follow-up) POD
Bug-30824-follow-up-POD.patch (text/plain), 1.12 KB, created by
Martin Renvoize (ashimema)
on 2022-05-24 14:29:50 UTC
(
hide
)
Description:
Bug 30824: (follow-up) POD
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-05-24 14:29:50 UTC
Size:
1.12 KB
patch
obsolete
>From 78d9402445486eb2a57141836335640141d80d40 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 24 May 2022 15:29:04 +0100 >Subject: [PATCH] Bug 30824: (follow-up) POD > >--- > C4/Items.pm | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index d358675513..42a23ee5b7 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -141,14 +141,18 @@ sub CartToShelf { > Given a MARC::Record object containing an embedded item > record and a biblionumber, create a new item record. > >-The final optional parameter, C<$params>, expected to contain >+The final optional parameter, C<$params>, may contain > 'skip_record_index' key, which relayed down to Koha::Item/store, > there it prevents calling of index_records, > which takes most of the time in batch adds/deletes: index_records > to be called later in C<additem.pl> after the whole loop. > >+You may also optionally pass biblioitemnumber in the params hash to >+boost performance of inserts by preventing a lookup in Koha::Item. >+ > $params: > skip_record_index => 1|0 >+ biblioitemnumber => $biblioitemnumber > > =cut > >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30824
:
135247
|
135307
|
135308
|
135369
|
135370