Skip to content

Commit

Permalink
Fixed issue #08598: incorrect alphabetically sort of surveys in list
Browse files Browse the repository at this point in the history
Dev Reload the grid to sort by ID
  • Loading branch information
tpartner committed Jan 27, 2014
1 parent 20e1951 commit e41668d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/admin/listsurvey.js
Expand Up @@ -130,6 +130,11 @@ $(document).ready(function(){
$('#displaysurveys').setGridWidth($(window).width()-4);
$('.wrapper').width($('#displaysurveys').width()+4);
$('.footer').outerWidth($('#displaysurveys').outerWidth()+4).css({ 'margin':'0 auto' });
if (jQuery("#displaysurveys").jqGrid('getGridParam','datatype') === "json") {
setTimeout(function(){
jQuery("#displaysurveys").trigger("reloadGrid");
},100);
}
}
});
jQuery("#displaysurveys").jqGrid('navGrid','#pager',{ deltitle: sDelTitle,
Expand Down

2 comments on commit e41668d

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

Why not by date (inverse): the last one before.

We vote ? ;)

@tpartner
Copy link
Collaborator Author

@tpartner tpartner commented on e41668d Jan 28, 2014 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.