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

--- Comment #9 from Pedro Amorim <pedro.amo...@openfifth.co.uk> ---
Created attachment 182947
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182947&action=edit
Bug 40013: [ALTERNATIVE WIP] Add 'searchable' option to OPAC table columns

This is a WIP of my suggestion. It provides column search inputs for each of
the 'searchable': true columns.
This provides value to all OPAC tables, as it adds the functionality at the
datatables layer.
This is a copy paste from the datatables.js in intranet-tmpl, ideally it'd be
DRY, but we don't live in an ideal world.
More work needs to be done:
1) Clicking on the input sorts the column (it shouldnt)
2) Columns like 'status' ideally would have a dropdown of values, not a text
input.
3) Searching on extended_attributes requires additional work so my suggestion
for now would be to have 'searchable': false for these cases.

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