Commit df3f995c8a59ad288e6558e927d7ab9e5e78f0cd

Authored by Nathanael Jourdane
1 parent f7556592

clear nbresults when window reloads

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
js/app/controllers/EpnTapModule.js
... ... @@ -46,7 +46,9 @@ Ext.define('amdaDesktop.EpnTapModule', {
46 46 this.aquireElements();
47 47 this.addListeners();
48 48  
49   - // this.servicesStore.clearFilter();
  49 + this.servicesStore.each(function(record) {
  50 + record.set('nb_results', -1);
  51 + }, this);
50 52 this.granulesStore.removeAll();
51 53  
52 54 if(target) {
... ...