[Koha-bugs] [Bug 27467] Provide a static URL for tables

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 19 15:12:41 CET 2021


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

--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 115329
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115329&action=edit
Bug 27467: [SOLUTION 2] Using deepLink.js

This solution is based on
  https://github.com/DataTables/Plugins/tree/master/features/deepLink
  https://datatables.net/blog/2017-07-24

I was expecting it to let us provide the columns filters using the
following query (that would filter on name="cit"):
/cgi-bin/koha/admin/cities.pl?columns=[{"search":""},{"search":"cit"},{"search":""},{"search":""},{"search":""},{"search":""}]

But it does not work. In my understanding this will also set the data
for each columns. As they are not in the URL, DT is using undefined
value (hence the "data is undefined" JS error)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list