From 4ab9e3ea97487d736261c8086c38cb54e6578c57 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Fri, 26 Nov 2021 17:42:47 +0100 Subject: [PATCH] Refs #21354: Improve accounting manager portlet by new persistence Upddated context column name --- .../client/filters/ActiveFiltersPanel.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/gcube/portlets/admin/accountingmanager/client/filters/ActiveFiltersPanel.java b/src/main/java/org/gcube/portlets/admin/accountingmanager/client/filters/ActiveFiltersPanel.java index c9d678e..0fe780b 100644 --- a/src/main/java/org/gcube/portlets/admin/accountingmanager/client/filters/ActiveFiltersPanel.java +++ b/src/main/java/org/gcube/portlets/admin/accountingmanager/client/filters/ActiveFiltersPanel.java @@ -101,6 +101,7 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar; */ public class ActiveFiltersPanel extends SimpleContainer { + private static final String CONTEXT = "Context"; private EventBus eventBus; private Grid gridFilter; private ListStore storeFilter; @@ -392,7 +393,7 @@ public class ActiveFiltersPanel extends SimpleContainer { IdentityValueProvider identity = new IdentityValueProvider(); smScopes = new CheckBoxSelectionModel(identity); - labelScopesCol = new ColumnConfig(propsScopeData.label(), 356, "Scope"); + labelScopesCol = new ColumnConfig(propsScopeData.label(), 356, CONTEXT); labelScopesCol.setCell(new AbstractCell() { @@ -768,7 +769,7 @@ public class ActiveFiltersPanel extends SimpleContainer { } gridScopes.setVisible(true); - labelScopesCol.setHeader("Scope"); + labelScopesCol.setHeader(CONTEXT); gridScopes.getView().refresh(true); comboChartType.setValue(ChartType.Basic); @@ -925,7 +926,7 @@ public class ActiveFiltersPanel extends SimpleContainer { } gridScopes.setVisible(true); - labelScopesCol.setHeader("Scope"); + labelScopesCol.setHeader(CONTEXT); gridScopes.getView().refresh(true); comboChartType.setValue(ChartType.Top);