[Koha-bugs] [Bug 30822] BatchCommit does not deal with indexation correctly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jun 12 11:40:26 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30822

--- Comment #9 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
Created attachment 135964
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135964&action=edit
Bug 30822: Clarify that BatchCommitItems is a private function

BatchCommitItems is only being used within this module and isn't
mentioned in EXPORT_OK. This patch simply renames it to
_batchCommitItems to take the _ standard for private functions and also
adds a little hint to the POD of the function to clarify that the caller
must trigger a re-index.

JK: Amended patch to rename also the function in t/db_dependent/ImportBatch.t
    and fix typo "commiting" => "commiting"

Signed-off-by: Joonas Kylmälä <joonas.kylmala at iki.fi>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list