https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40013
--- Comment #11 from HKS3 Tadeusz Sośnierz <tade...@sosnierz.com> --- (In reply to Pedro Amorim from comment #10) > (In reply to HKS3 Tadeusz Sośnierz from comment #8) > > > Any ideas for what an elegant and future-proof solution could look like > > here? > > I've provided a patch illustrating my suggestion. With a bit more work it > should satisfy your use case of filtering on 'status', and done at the > datatables.js layer. > The code not being DRY is something that imo should be discussed (and fixed > someday) in bug 35716 as it's a perpetual problem in Koha far exceeding this > particular OPAC ILL table. Ah, I don't think that covers the second case though – introducing a dataFilter-like functionality, where we process the data between the response arriving and the table being rendered. A customer over here is interested in "streamlining" the statuses of requests, so they either show "New", "In progress" or "Completed" without going into further details – dataFilter fills that purpose nicely, and my second patch enables that – and I don't think it's a pattern we use with kohaTables anywhere else so far, neither in opac or intranet. -- 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/