[Koha-bugs] [Bug 29275] issuehistory.pl is very slow when there are many historical issues

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 27 14:12:48 CEST 2021


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

--- Comment #10 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Victor Grousset/tuxayo from comment #8)
> A diff between current_checkouts and old_checkouts functions show that they
> have a lot of duplication.
> Is there a way to deduplicate without making something messy?
> I wonder if there is a way to assign old_checkouts as a copy of
> current_checkouts and then re assign so it it's properties to add and change
> stuff.
> The only difference is the URL param and a render function.

I tried, but things get a bit harder to understand and I didn't feel like the
trade-off justified a generalization.

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


More information about the Koha-bugs mailing list