]> git.koha-community.org Git - koha.git/commit
Bug 34822: Process real time holds along with indexing
authorNick Clemens <nick@bywatersolutions.com>
Mon, 18 Sep 2023 17:25:15 +0000 (17:25 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 Oct 2023 19:46:54 +0000 (09:46 -1000)
commit56b15b0e2d5ac3e68734e81a660cda019ea55b6d
treea4c851c353f2a5cd054bd0b47c8c621bb52ef350
parent71dda507622e35d5ab083a8a45cab50a29211596
Bug 34822: Process real time holds along with indexing

Current code already skips indexing when adding record to instead index in a single call. This patch pdates the code to do the same thing for real time holds queue updates.

Note: Newly added records do not need to be updated as they won't have holds yet.

To test:
1 - Have a marc file with several records that match records in your catalog
    You can export part of your catalog to generate one
2 - Set system preference:  RealTimeHoldsQueue to 'enable'
3 - Stage and import file, make sure you are matching and overlaying
4 - Go to Administration->Manage jobs
5 - Note a batch update for each updated record
6 - Apply patch
7 - Repeat
8 - Note a single job added for the entire batch containing only updated records

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit b50d43c14ee19b32c312a2955c888f48235fddc8)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/ImportBatch.pm