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

--- Comment #25 from Jonathan Druart <[email protected]> ---
Created attachment 200906
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200906&action=edit
Bug 38185: Remove pagingType and introduce tableFeatures

pagingType is deprecated and will be removed in DT v3
https://datatables.net/reference/option/pagingType

`pagingType: full_numbers` was the default, and 'full' was used in
several places
full_numbers is: First, Previous, Pages numbers, Next, Last
full is: First, Previous, Next, Last

I don't think it makes sense to keep 'full', if there are many pages the
user cannot navigate correctly.

This patch removes full and makes full_numbers the default.

tableFeatures can now be passed to the kohaTable constructor with a list of
features to include: info, search, paging, buttons. If not passed, all
features will be added. If passed but empty, none will be added.

Note that the UI has slightly changed on 3 tables:
 admin/credit_types.tt
 admin/debit_types.tt
 members/boraccount.tt
Where the filters are now above the table's wrapper container. We could
restore this later, but more work is needed. It feels like a separate
work where we will uniformize the filters for all tables.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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