Merge pull request #1324 from brayanpereyra/master
I removed the button filter
This commit is contained in:
@@ -1126,6 +1126,8 @@ Ext.onReady ( function() {
|
|||||||
//Ext.getCmp('casesGrid').getView().refresh();
|
//Ext.getCmp('casesGrid').getView().refresh();
|
||||||
|
|
||||||
searchText = textSearch.getValue();
|
searchText = textSearch.getValue();
|
||||||
|
storeCases.setBaseParam('dateFrom', dateFrom.getValue());
|
||||||
|
storeCases.setBaseParam('dateTo', dateTo.getValue());
|
||||||
storeCases.setBaseParam( 'search', searchText);
|
storeCases.setBaseParam( 'search', searchText);
|
||||||
storeCases.load({params:{ start : 0 , limit : pageSize }});
|
storeCases.load({params:{ start : 0 , limit : pageSize }});
|
||||||
}
|
}
|
||||||
@@ -1682,14 +1684,6 @@ Ext.onReady ( function() {
|
|||||||
' ',
|
' ',
|
||||||
_('ID_TO'),
|
_('ID_TO'),
|
||||||
dateTo,
|
dateTo,
|
||||||
new Ext.Button ({
|
|
||||||
text: _('ID_FILTER_BY_DELEGATED_DATE'),
|
|
||||||
handler: function(){
|
|
||||||
storeCases.setBaseParam('dateFrom', dateFrom.getValue());
|
|
||||||
storeCases.setBaseParam('dateTo', dateTo.getValue());
|
|
||||||
storeCases.load({params:{ start : 0 , limit : pageSize }});
|
|
||||||
}
|
|
||||||
}),
|
|
||||||
"->",
|
"->",
|
||||||
'-',
|
'-',
|
||||||
textSearch,
|
textSearch,
|
||||||
|
|||||||
Reference in New Issue
Block a user