Merge pull request #4830 from esaunders/5127_page_by_default

Turn result paging on by default.
This commit is contained in:
Richard Cordovano 2019-06-04 14:18:57 -04:00 committed by GitHub
commit 09805825b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -504,10 +504,10 @@ public final class UserPreferences {
/** /**
* Get the maximum number of results to display in a result table. * Get the maximum number of results to display in a result table.
* *
* @return Saved value or default (0) which indicates no max. * @return Saved value or default (10,000).
*/ */
public static int getResultsTablePageSize() { public static int getResultsTablePageSize() {
return preferences.getInt(RESULTS_TABLE_PAGE_SIZE, 0); return preferences.getInt(RESULTS_TABLE_PAGE_SIZE, 10_000);
} }
/** /**

View File

@ -216,4 +216,4 @@ DataResultViewerTable.pagesLabel.text=Pages:
DataResultViewerTable.pageNumLabel.text= DataResultViewerTable.pageNumLabel.text=
DataResultViewerTable.pageLabel.text=Page: DataResultViewerTable.pageLabel.text=Page:
ViewPreferencesPanel.maxResultsLabel.text=Maximum number of Results to show in table: ViewPreferencesPanel.maxResultsLabel.text=Maximum number of Results to show in table:
ViewPreferencesPanel.maxResultsLabel.toolTipText=<html>\nAll results are shown in the results table if this value is 0 (default).\n<br>You may want to consider setting this value if you have large numbers of results that are taking a long time to display.\n</html> ViewPreferencesPanel.maxResultsLabel.toolTipText=<html>\nSetting this value to 0 will display all results in the results table.\n<br>Note that setting this value to 0 may result in poor UI responsiveness when there are large numbers of results.\n</html>

View File

@ -269,4 +269,4 @@ DataResultViewerTable.pagesLabel.text=Pages:
DataResultViewerTable.pageNumLabel.text= DataResultViewerTable.pageNumLabel.text=
DataResultViewerTable.pageLabel.text=Page: DataResultViewerTable.pageLabel.text=Page:
ViewPreferencesPanel.maxResultsLabel.text=Maximum number of Results to show in table: ViewPreferencesPanel.maxResultsLabel.text=Maximum number of Results to show in table:
ViewPreferencesPanel.maxResultsLabel.toolTipText=<html>\nAll results are shown in the results table if this value is 0 (default).\n<br>You may want to consider setting this value if you have large numbers of results that are taking a long time to display.\n</html> ViewPreferencesPanel.maxResultsLabel.toolTipText=<html>\nSetting this value to 0 will display all results in the results table.\n<br>Note that setting this value to 0 may result in poor UI responsiveness when there are large numbers of results.\n</html>