From 7c04a45fea5a560a6152115d27da8360793d016d Mon Sep 17 00:00:00 2001 From: Ross Perry Date: Thu, 21 Nov 2024 15:52:20 -0700 Subject: [PATCH] clean up --- .../seed/js/controllers/portfolio_summary_controller.js | 1 - seed/views/v3/goals.py | 8 -------- 2 files changed, 9 deletions(-) diff --git a/seed/static/seed/js/controllers/portfolio_summary_controller.js b/seed/static/seed/js/controllers/portfolio_summary_controller.js index 7268664e8d..503be52e5d 100644 --- a/seed/static/seed/js/controllers/portfolio_summary_controller.js +++ b/seed/static/seed/js/controllers/portfolio_summary_controller.js @@ -1004,7 +1004,6 @@ angular.module('SEED.controller.portfolio_summary', []) enableSorting: false, minRowsToShow: 1, onRegisterApi: (gridApi) => { - console.log('registerd'); $scope.summaryGridApi = gridApi; } }; diff --git a/seed/views/v3/goals.py b/seed/views/v3/goals.py index 754c7bd841..d2df1053fb 100644 --- a/seed/views/v3/goals.py +++ b/seed/views/v3/goals.py @@ -186,8 +186,6 @@ def data(self, request, pk): only_used=False, include_related=False, ) - # need metric 1 - # need metric 2 show_columns = list(Column.objects.filter(organization_id=org_id).values_list("id", flat=True)) key1, key2 = ("baseline", "current") if baseline_first else ("current", "baseline") @@ -279,12 +277,6 @@ def data(self, request, pk): property["eui_change"] = percentage(property["baseline_eui"], property["current_eui"]) properties.append(property) - # UNIT ERRORS, need to convert quantity to number - # not mine, but others. check taxlot property serialize unit conversion. - # SHOULD REALLY HAVE A SHORT LIST OF COLUMNS - - # PAGINATION - # FILTERS return JsonResponse( {