Skip to content

Commit

Permalink
Merge pull request CenterForOpenScience#833 from aaxelb/fix/highlight…
Browse files Browse the repository at this point in the history
…-path

fix: retain entire iris in dynamic field names
  • Loading branch information
aaxelb authored Nov 27, 2024
2 parents fbb7a45 + 9b23fad commit d2015a3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions share/search/index_strategy/_trovesearch_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,7 @@ def iris_synonyms(iris: typing.Iterable[str], rdfdoc: rdf.RdfGraph) -> set[str]:

def propertypath_as_keyword(path: Propertypath) -> str:
assert not is_globpath(path)
return json.dumps([
get_sufficiently_unique_iri(_iri)
for _iri in path
])
return json.dumps(path)


def b64(value: str) -> str:
Expand Down

0 comments on commit d2015a3

Please sign in to comment.