MITLibraries / oastats-ui

The User Interface for the MIT Libraries Open Access Statistics Project
0 stars 2 forks source link

Make datatables pagination context-sensitive #42

Closed matt-bernhardt closed 10 years ago

matt-bernhardt commented 10 years ago

When a data table has fewer than 1 page of records, the pagination should not appear.

matt-bernhardt commented 10 years ago

This thread in the datatables forums has several pointers for this question: https://datatables.net/forums/discussion/131/disabling-pagination-navigation-when-returning-only-one-page-of-results/p1