https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42160 --- Comment #3 from Adolfo Rodríguez Taboada <adolfo.rodriguez@xercode.es> --- Hello, the patch also fixes a second problem: Koha::Checkout->attempt_auto_renew calls AddRenewal without skip_record_index, so every renewal enqueued its own reindex, and the single reindex at the end of the script (bug 32013) never replaced them. Fixing only the itemnumbers would have reindexed each record twice. Now the renewals skip the reindex, and the script reindexes the biblionumbers of all the renewed items, without duplicates, in a single call. Tested with 3 automatic renewals (2 of them on the same record): before the patch, 4 jobs (one per renewal, plus one with the itemnumbers); after, 1 job with the 2 biblionumbers. -- You are receiving this mail because: You are watching all bug changes.