Skip to content

Commit

Permalink
Na área adm de journal proc, adiciona campos de pesquisa e adiciona c…
Browse files Browse the repository at this point in the history
…oluna com status de disponibilidade
  • Loading branch information
robertatakenaka committed Oct 14, 2024
1 parent 7adba1b commit 0979b72
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions proc/wagtail_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class JournalProcModelAdmin(ModelAdmin):
list_display = (
"journal",
"acron",
"availability_status",
"migration_status",
"qa_ws_status",
"public_ws_status",
Expand All @@ -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",
)


Expand Down Expand Up @@ -99,6 +101,7 @@ class IssueProcModelAdmin(ModelAdmin):
)
search_fields = (
"journal_proc__acron",
"journal_proc__journal__title",
"issue_folder",
"issue__publication_year",
"issue__volume",
Expand Down

0 comments on commit 0979b72

Please sign in to comment.