Skip to content
Snippets Groups Projects
Commit 07af1c20 authored by Justin Cleveland's avatar Justin Cleveland
Browse files

XNAT-4175 -- Set default number of items in display tables to 200

parent 0966fa40
No related branches found
No related tags found
No related merge requests found
...@@ -224,11 +224,11 @@ function DataTableSearch(_div_table_id,obj,_config,_options){ ...@@ -224,11 +224,11 @@ function DataTableSearch(_div_table_id,obj,_config,_options){
} }
} }
if(this.config.rowsPerPage ==undefined){ if(this.config.rowsPerPage ==undefined){
this.config.rowsPerPage=20; this.config.rowsPerPage=200;
} }
}else{ }else{
if(this.config.rowsPerPage ==undefined){ if(this.config.rowsPerPage ==undefined){
this.config.rowsPerPage=20; this.config.rowsPerPage=200;
} }
this.config.initialRequest="format=json&offset=0&limit="+this.config.rowsPerPage; this.config.initialRequest="format=json&offset=0&limit="+this.config.rowsPerPage;
} }
...@@ -256,7 +256,7 @@ function DataTableSearch(_div_table_id,obj,_config,_options){ ...@@ -256,7 +256,7 @@ function DataTableSearch(_div_table_id,obj,_config,_options){
pageLinks : 5, pageLinks : 5,
initialPage : (this.config.initialPage!=undefined)?this.config.initialPage:1, initialPage : (this.config.initialPage!=undefined)?this.config.initialPage:1,
rowsPerPage : this.config.rowsPerPage, rowsPerPage : this.config.rowsPerPage,
rowsPerPageOptions : [10,20,40,100,500,5000], rowsPerPageOptions : [20,50,100,200,500,5000],
template : this.paginator_html, template : this.paginator_html,
totalRecords : parseInt(this.initResults.ResultSet.totalRecords), totalRecords : parseInt(this.initResults.ResultSet.totalRecords),
pageReportTemplate : '{currentPage} of {totalPages} Pgs ({totalRecords} Rows)' pageReportTemplate : '{currentPage} of {totalPages} Pgs ({totalRecords} Rows)'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment