Kyle M Hall
b80b8fa40f
There are many instances where librarians would like to have the ability to see all the rows in a datatable at one. It seems prudent to make this a default option for datatables, rather than change it on a case by case basis. Test Plan: 1) View the circulation history for a patron 2) Note you can select to view 10, 25, 50, or 100 entries 3) Apply this patch 4) Reload the circulation history page for a patron 5) Note the new "All" option 6) Verify the "All" option shows all the rows at once Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> I tested the translation for "All" Signed-off-by: Galen Charlton <gmc@esilibrary.com>
21 lines
984 B
PHP
21 lines
984 B
PHP
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
var MSG_DT_FIRST = _("First");
|
|
var MSG_DT_LAST = _("Last");
|
|
var MSG_DT_NEXT = _("Next");
|
|
var MSG_DT_PREVIOUS = _("Previous");
|
|
var MSG_DT_EMPTY_TABLE = _("No data available in table");
|
|
var MSG_DT_INFO = _("Showing _START_ to _END_ of _TOTAL_");
|
|
var MSG_DT_INFO_EMPTY = _("No entries to show");
|
|
var MSG_DT_INFO_FILTERED = _("(filtered from _MAX_ total entries)");
|
|
var MSG_DT_LENGTH_MENU = _("Show _MENU_ entries");
|
|
var MSG_DT_LOADING_RECORDS = _("Loading...");
|
|
var MSG_DT_PROCESSING = _("Processing...");
|
|
var MSG_DT_SEARCH = _("Search:");
|
|
var MSG_DT_ZERO_RECORDS = _("No matching records found");
|
|
var MSG_DT_ALL = _("All");
|
|
var CONFIG_EXCLUDE_ARTICLES_FROM_SORT = _("a an the");
|
|
//]]>
|
|
</script>
|
|
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
|