https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24009 --- Comment #13 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #11)
Did not we decided to have ->filter_by_* methods? I do not think we should introduce this pattern (ie. having filter_by in parameter), we may end up with huge and complex methods.
However I really like the idea of ->filter_by_* chained methods to filter a set.
I don't remember that discussion to evolve more than what was proposed on that bug... what was it... I think chaining filter_by_* could be really cool. I think Martin ended up implementing this way because we didn't have a clear consensus. But I missed many dev meetings as well. -- You are receiving this mail because: You are watching all bug changes.