From fc795d8f46495e69d4143e72c9d49da7adf3bde3 Mon Sep 17 00:00:00 2001 From: GitInno <86991526+gitnnolabs@users.noreply.github.com> Date: Wed, 25 Oct 2023 00:33:58 -0300 Subject: [PATCH] =?UTF-8?q?Adiciona=20o=20ajuste=20no=20nome=20da=20licen?= =?UTF-8?q?=C3=A7a.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- article/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/article/models.py b/article/models.py index 58db904f..67ba8e92 100644 --- a/article/models.py +++ b/article/models.py @@ -1141,7 +1141,7 @@ def filter_items_to_generate_indicators( def parameters_for_values( cls, by_open_access_status=False, - by_use_license=False, + by_license=False, by_institution=False, by_thematic_area_level0=False, by_thematic_area_level1=False, @@ -1152,8 +1152,8 @@ def parameters_for_values( selected_attributes = ["year"] if by_open_access_status: selected_attributes += ["open_access_status"] - if by_use_license: - selected_attributes += ["license"] + if by_license: + selected_attributes += ["license__name"] if by_apc: selected_attributes += ["apc"] if by_institution: