From 2ca6d2d1a1ab3deefb9350c67e440aaf0bab464c Mon Sep 17 00:00:00 2001
From: vkovtun <vkovtun@ethz.ch>
Date: Wed, 7 Jun 2023 15:03:27 +0200
Subject: [PATCH] SSDM-13693: Made size columns consistent in the advance
 search and archiving views.

---
 .../html/js/views/ArchivingHelper/ArchivingHelperView.js | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ArchivingHelper/ArchivingHelperView.js b/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ArchivingHelper/ArchivingHelperView.js
index 39f72586d66..b8b22005f3d 100644
--- a/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ArchivingHelper/ArchivingHelperView.js
+++ b/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ArchivingHelper/ArchivingHelperView.js
@@ -75,15 +75,6 @@ function ArchivingHelperView(archivingHelperController, archivingHelperModel) {
             exportableProperty: DataGridExportOptions.EXPORTABLE_FIELD.SAMPLE,
             sortable : false
         }];
-        searchView.additionalLastColumns = [{
-            label : "Size",
-            property : "size",
-            exportableProperty: DataGridExportOptions.EXPORTABLE_FIELD.SIZE,
-            sortable : false,
-            render : function(data, grid) {
-                return PrintUtil.renderNumberOfBytes(data.size);
-            }
-        }];
         searchView._paintRulesPanel($rulesPanel);
         searchView._$entityTypeDropdown.val("DATASET");
         searchView._$entityTypeDropdown.trigger("change");
-- 
GitLab