[Koha-devel] jquery plugin

Paul Poulain paul.poulain at biblibre.com
Wed Aug 10 11:25:54 CEST 2011


Hello koha-devel,

On the bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6086
Alex proposes to add a new jquery filter for tables,
picnet.table.filter.min.js (An example of the filter is here:
http://www.picnet.com.au/resources/tablefilter/demo.htm )

We already have some jquery plugins for table:
* tablesorter = let you sort table columns. Widely used in Koha.
* tablesorterPager = automatically paginate long tables. Used in admin
section of Koha, and in readingrec
* uiTableFilter = add a generic filter to tables. Used only in serials
claims if i'm not mistaking.

uiTableFilter and tablefilter achieve almost the same goal:
* uiTableFilter propose just one filter, generic, outside of the table.
You enter something, and any cell with the entered value is kept, others
are hidden
* tablefilter add a line to the table, just below column names (see the
screenshot on bug 6086) the filter can be very detailled. It handles
filters from a list, not only from an entered value.

We have options:
* those 2 plugins are not exactly the same, let's go with both (at the
price of sometimes graphic inconsistencies or difficulties to choose one
or the other plugin)
* uiTableFilter is great, the other gives us too much detail, let's
stick with uiTableFilter, don't add another table plugin !
* tablefilter is great, it's better to have a lot of details, it's
easier to understand how it works (the uiTableFilter is outside the
table, it's strange...) switch to tablefilter and remote uiTableFilter !

What do you think we should do ?
Is there an other thing we should take care of ? Anyone knowing the
killing-plugin-for-table we should use for sorting/filtering/doing
everything on table ?

Personally, I think I prefer a little bit tablefilter, I already had
some usability questions from Owen about uiTableFilter used in a
smart-rules patch we've submitted (and has not been applied yet)

Depending on the conclusion, i'll QA the 6086 differently ;-)

-- 
Paul POULAIN
http://www.biblibre.com
Expert en Logiciels Libres pour l'info-doc
Tel : (33) 4 91 81 35 08



More information about the Koha-devel mailing list