Skip to content

Commit

Permalink
config: added affiliations suggestions by id.
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandromumo authored and kpsherva committed Nov 1, 2023
1 parent 3ac753c commit bc2c0a4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions invenio_vocabularies/contrib/affiliations/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ class AffiliationsSearchOptions(SearchOptions):
"""Search options."""

suggest_parser_cls = SuggestQueryParser.factory(
fields=[
"name^100",
"acronym^20",
],
fields=["name^100", "acronym^20", "id^20"],
)

sort_default = "bestmatch"
Expand Down

0 comments on commit bc2c0a4

Please sign in to comment.