From 0979b72c35cd70b35f032918ec36eef3f35f036a Mon Sep 17 00:00:00 2001 From: Roberta Takenaka Date: Mon, 14 Oct 2024 20:19:17 -0300 Subject: [PATCH] =?UTF-8?q?Na=20=C3=A1rea=20adm=20de=20journal=20proc,=20a?= =?UTF-8?q?diciona=20campos=20de=20pesquisa=20e=20adiciona=20coluna=20com?= =?UTF-8?q?=20status=20de=20disponibilidade?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proc/wagtail_hooks.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/proc/wagtail_hooks.py b/proc/wagtail_hooks.py index a7d89978..1d5e18d4 100644 --- a/proc/wagtail_hooks.py +++ b/proc/wagtail_hooks.py @@ -48,6 +48,7 @@ class JournalProcModelAdmin(ModelAdmin): list_display = ( "journal", "acron", + "availability_status", "migration_status", "qa_ws_status", "public_ws_status", @@ -62,9 +63,10 @@ class JournalProcModelAdmin(ModelAdmin): ) search_fields = ( "acron", - "availability_status", - "scielo_issn", - "title", + "pid", + "journal__title", + "journal__official_journal__issn_print", + "journal__official_journal__issn_electronic", ) @@ -99,6 +101,7 @@ class IssueProcModelAdmin(ModelAdmin): ) search_fields = ( "journal_proc__acron", + "journal_proc__journal__title", "issue_folder", "issue__publication_year", "issue__volume",