https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20936 --- Comment #74 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Agustín Moyano from comment #73)
(In reply to Jonathan Druart from comment #60)
Use of union could be a solution, but I don't think it could be implemented easily, see bug 25043 for an example using DBIx::Class::ResultSet
https://metacpan.org/pod/DBIx::Class::Helper::ResultSet::SetOperations
Throwing the towel here, at least untill bug 25260 gets pushed..
union cannot be used here, because it doesn't accept prefetch of tables, and we need to filter and order by prefetched tables, and making a view with the union of both tables won't work either, because it hasn't got relationships with other tables.
I'll have to put the logic in the pl file and wait till reserves/old_reserves get merged properly.
You did a great job anyways, Agustín. Don't let this put you down! We'll finish this and more with the API really soon! -- You are receiving this mail because: You are watching all bug changes.