Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Criar possibilidade de manter a página do legado na ausência de conteúdo do Core #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samuelveigarangel
Copy link
Contributor

O que esse PR faz?

Criar possibilidade de manter a página do legado na ausência de conteúdo do Core

Onde a revisão poderia começar?

pelos commits

Como este poderia ser testado manualmente?

Acessar "Sobre o periódico"

Algum cenário de contexto que queira dar?

N/A

Screenshots

N/A

Quais são tickets relevantes?

scieloorg/core#784
#141

Referências

N/A

@@ -701,7 +701,9 @@ def about_journal(url_seg):
)
else:
latest_issue_legend = None


page = controllers.get_page_by_journal_acron_lang(journal.acronym, language)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samuelveigarangel ou executa page = controllers.get_page_by_journal_acron_lang(journal.acronym, language) ou section_journal_content = fetch_and_extract_section( collection_acronym, journal.acronym, language ) para evitar execução desnecessária

Pode-se criar uma variável para definir a prioridade, se é do core ou do opac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants