Improvement the list advanced Search

This commit is contained in:
Marco Antonio Nina
2013-01-29 15:18:55 -04:00
parent be30723e7f
commit 8d00dee687
2 changed files with 16 additions and 1 deletions

View File

@@ -1951,7 +1951,14 @@ var gridForm = new Ext.FormPanel({
storeCases.setBaseParam("action", action);
storeCases.setBaseParam("start", 0);
storeCases.setBaseParam("limit", pageSize);
storeCases.load();
if (action != 'search') {
storeCases.load();
} else {
storeCases.load( {params: { first: true}} );
PMExt.notify_time_out = 5;
PMExt.notify(_('ID_ADVANCEDSEARCH'), _('ID_ENTER_SEARCH_CRITERIA'));
}
//newPopUp.add(reassignGrid);
newPopUp.add(gridForm);
newPopUp.addButton(btnExecReassignSelected);