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

--- Comment #3 from Owen Leonard <[email protected]> ---
Created attachment 199474
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199474&action=edit
Bug 38259: Adjust lengthMenu (DataTables)

Needs DataTables 2.3+ for lengthLabels

https://datatables.net/reference/option/lengthMenu

https://cdn.datatables.net/2.0.0/

"""
lengthMenu now easier to use, being an array of values, which can
either be integers or a label / value object. The old 2D array form is
still supported via the legacy integration.
"""

"""
Legacy

DataTables 1.x used a 2D array rather than objects to support
languages. The first inner array is the page length values and the
second inner array is the displayed options. This is still supported in
DataTables 2, although now deprecated.
"""

Test plan:
Confirm that "Show X entries" menu in the table's header shows
correctly on the different views modified by this patch.

Signed-off-by: Owen Leonard <[email protected]>

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