https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29275
--- Comment #16 from Tomás Cohen Arazi <tomasco...@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. Not just that. But I made a function to avoid duplication. > Also a call to encodeURIComponent() might be missing in current_checkouts Solved! -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/