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

--- Comment #8 from HKS3 Tadeusz Sośnierz <tade...@sosnierz.com> ---
I'm really not stoked on the "API" of this – manipulating carefully named
globals to alter the behaviour is not something I'm fond of, but it seems to me
like it'd require a massive overhaul to make it better. Ideally I'd see it as
something like `$("#illrequestlist").kohaTable().addDataFiltter(...)` instead,
but we're not really working with fully-fledged objects here that we can add
methods to. There is a precedent like he aforementioned _dt_add_filters, but in
case of dataFilter (see second patch) that quickly gets very awkward, since
those dataFilters are established at _dt_default_ajax time, so not easily
accesible to modify it at a later time.

Any ideas for what an elegant and future-proof solution could look like here?

-- 
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/

Reply via email to