From df3f995c8a59ad288e6558e927d7ab9e5e78f0cd Mon Sep 17 00:00:00 2001 From: Nathanael Jourdane <nathanael.jourdane@irap.omp.eu> Date: Thu, 31 Aug 2017 16:42:15 +0200 Subject: [PATCH] clear nbresults when window reloads --- js/app/controllers/EpnTapModule.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/app/controllers/EpnTapModule.js b/js/app/controllers/EpnTapModule.js index b766ff1..8698395 100644 --- a/js/app/controllers/EpnTapModule.js +++ b/js/app/controllers/EpnTapModule.js @@ -46,7 +46,9 @@ Ext.define('amdaDesktop.EpnTapModule', { this.aquireElements(); this.addListeners(); - // this.servicesStore.clearFilter(); + this.servicesStore.each(function(record) { + record.set('nb_results', -1); + }, this); this.granulesStore.removeAll(); if(target) { -- libgit2 0.21.2