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

--- Comment #10 from Tomás Cohen Arazi <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to