[Koha-bugs] [Bug 32013] New: Autorenewals is effectively a bulk action and should be treated as such

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 27 12:26:58 CEST 2022


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

            Bug ID: 32013
           Summary: Autorenewals is effectively a bulk action and should
                    be treated as such
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org

The autorenewals cron script is in effect doing a bulk renew action.. but right
now it iterates through all renewals and calls 'AddRenewal' on each item
individually..

This can cause things, like elastic indexing, to queue up but without actioning
it via the skip_index option.

We aught to be able to pass skip_indexing to AddRenewal to allow us to action
the indexing step at the end as a bulk change for the ES case.

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


More information about the Koha-bugs mailing list