Skip to content

Commit

Permalink
[leisref] Ajuste na indexação de legislação
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusandrade committed Apr 12, 2018
1 parent a24b029 commit 44d62ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bireme/leisref/search_indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def prepare_language(self, obj):
def prepare_collection(self, obj):
if obj.act_collection:
translations = ["|".join(col.get_translations()) for col in obj.act_collection.all()]
return "|".join(translations)
return translations

def prepare_indexed_database(self, obj):
return [occ.acronym for occ in obj.indexed_database.all()]
Expand Down

0 comments on commit 44d62ff

Please sign in to comment.