Koha/koha-tmpl/intranet-tmpl/prog/en
Owen Leonard 94c4a268ac Bug 22811: Add button to clear DataTables filtering
This patch adds a "clear filter" button to the global
DataTables configuration. The button will appear if:

 - There is no custom DOM configuration applied to the DataTable
   instance.
 - The DataTable has the search form enabled.

The new button should be disabled by default. Entering a search term in
the form should enable it.

To test, apply the patch and clear your browser cache if necessary. View
various pages with various DataTables configurations and confirm that
everything looks correct and the new "Clear filter" button doesn't
appear when there is no DataTable search field. For example:

 - Administration -> Libraries
 - Administration -> Currencies
 - Reports -> Saved reports
 - Circulation -> Check out
 - Tools -> News

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-05-09 19:30:05 +00:00
..
data Bug 19648: Revise marc21_field_007.xml 2019-04-12 01:47:51 +00:00
includes Bug 22811: Add button to clear DataTables filtering 2019-05-09 19:30:05 +00:00
modules Bug 22053: ability to enable/disable some plugins 2019-05-09 18:54:44 +00:00
xslt Bug 21589: Series link formed from 830 field is incorrect 2019-04-26 10:23:46 +00:00
columns.def Bug 13795: Remove occurences of unused columns in code 2019-04-18 10:05:51 +00:00