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

Adiciona indexação dos itens de brasil.gov.agenda. #97

Merged
merged 1 commit into from
Jun 12, 2018

Conversation

idgserpro
Copy link
Member

Dessa forma, itens passam a aparecer no portlet definido por collective.portlet.calendar. Ver #82 (comment) para mais detalhes.

Dessa forma, itens passam a aparecer no portlet definido por collective.portlet.calendar. Ver #82 (comment) para mais detalhes.

obj.subjects = ()
catalog.catalog_object(obj)
Copy link
Member

Choose a reason for hiding this comment

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

concordo, mas acho melhor:

catalog.catalog_object(obj, idxs=['Subject'], update_metadata=False)

Copy link
Member Author

Choose a reason for hiding this comment

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

Estou achando melhor reindexar tudo, em #82 (comment) mostrei exemplo de apenas um índice, o end, mas temos outros como start, etc, por isso foi feito dessa forma.

@hvelarde hvelarde merged commit 710b85e into 1.x Jun 12, 2018
@hvelarde hvelarde deleted the issue-82-corrige-indexacao-idgserpro branch June 12, 2018 17:35
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