diff --git a/CHANGELOG.md b/CHANGELOG.md index 03112d4..21dd556 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project tries to adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] +### Fixed +- abbreviations in process view + ## [0.9.0] - 2024-10-18 ### Changed - UI design diff --git a/django_energysystem_viewer/views.py b/django_energysystem_viewer/views.py index 24df156..b983f2e 100644 --- a/django_energysystem_viewer/views.py +++ b/django_energysystem_viewer/views.py @@ -198,7 +198,7 @@ def get_context_data(self, **kwargs): context["banner_data"] = collection_name structure_name = self.request.GET.get("structure") context["structure_name"] = structure_name - abbreviations = get_excel_data(structure_name, "abbreviations") + abbreviations = get_excel_data("SEDOS-structure-all", "abbreviations") context["abbreviation_list"] = abbreviations["abbreviations"].unique() return context @@ -222,7 +222,7 @@ def get_context_data(self, **kwargs): structure_name = self.request.GET.get("structure") context["structure_name"] = structure_name - abbreviations = get_excel_data(structure_name, "abbreviations") + abbreviations = get_excel_data("SEDOS-structure-all", "abbreviations") context["abbreviation_list"] = abbreviations["abbreviations"].unique() # If specific artifact is queried