]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 4 Oct 2023 13:15:38 +0000 (09:15 -0400)
commitb50d43c14ee19b32c312a2955c888f48235fddc8
tree1c824e0aa90351e9a5c6f00c4026682ae98b63b7
parent5b9dbe558f6b9c548786691f29b940e4f2f66b86
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>
C4/ImportBatch.pm