Skip to content

Commit

Permalink
Fixed #6962: Made max filter size equal for all browse tables
Browse files Browse the repository at this point in the history
dev: attributes in cpdb still start with 10 to keep  compact, new max is 5000
  • Loading branch information
mennodekker committed Dec 13, 2012
1 parent dc99d73 commit 9142aea
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/admin/attributeControl.js
Expand Up @@ -25,7 +25,7 @@ $(document).ready(function() {
autowidth: true,
loadonce: true,
sortname : "attribute_name",
rowList: [25,50,100,250,500,1000,5000],
rowList: [25,50,100,250,500,1000,2500,5000],
multiselect: true,
pager: "#pager",
pgtext: pagerMsg,
Expand Down
2 changes: 1 addition & 1 deletion scripts/admin/browse.js
Expand Up @@ -160,7 +160,7 @@ viewrecords : true,
gridview: true,
multiselect: true,
loadonce: true,
rowList: [25,50,100,250,500,1000,5000,10000],
rowList: [25,50,100,250,500,1000,2500,5000],
ondblClickRow: function(id) {
if (lastSel != id) {
$('#responseTable').saveRow(lastSel);
Expand Down
4 changes: 2 additions & 2 deletions scripts/admin/displayParticipant.js
Expand Up @@ -127,7 +127,7 @@ $(document).ready(function() {
sortname: 'firstname',
sortorder: 'asc',
viewrecords : true,
rowList: [25,50,100,250,500,1000],
rowList: [25,50,100,250,500,1000,2500,5000],
multiselect: true,
loadonce : false,
loadComplete : function() {
Expand Down Expand Up @@ -244,7 +244,7 @@ $(document).ready(function() {
recordtext:'',
pgtext:'',
rowNum:10,
rowList:[10,25,50,100,250,500],
rowList:[10,25,50,100,250,500,1000,2500,5000], /* start with 10 to keep it smaller */
gridComplete: function () {
/* Removes the delete icon from the actions bar */
$('div.ui-inline-del').html('');
Expand Down
2 changes: 1 addition & 1 deletion scripts/admin/listsurvey.js
Expand Up @@ -114,7 +114,7 @@ $(document).ready(function(){
sortname: 'sid',
sortorder: 'asc',
viewrecords : true,
rowList: [25,50,100,250,500,1000],
rowList: [25,50,100,250,500,1000,2500,5000],
multiselect: true,
loadonce : true,
pager: "#pager",
Expand Down
2 changes: 1 addition & 1 deletion scripts/admin/sharePanel.js
Expand Up @@ -59,7 +59,7 @@ jQuery("#sharePanel").jqGrid({
scrollOffset:0,
autowidth: true,
sortname : "firstname",
rowList: [25,50,100,250,500,1000,2000,5000],
rowList: [25,50,100,250,500,1000,2500,5000],
multiselect: true,
loadonce: true,
pager: "#pager"
Expand Down
2 changes: 1 addition & 1 deletion scripts/admin/tokens.js
Expand Up @@ -146,7 +146,7 @@ $(document).ready(function() {
sortname: 'tid',
sortorder: 'asc',
viewrecords : true,
rowList: [25,50,100,250,500,1000,5000,10000],
rowList: [25,50,100,250,500,1000,2500,5000],
multiselect: true,
loadonce : false,
loadComplete: function()
Expand Down

0 comments on commit 9142aea

Please sign in to comment.