Skip to content

Commit

Permalink
update use of ontology search param, related fix for #302
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Lagrimas committed Aug 16, 2023
1 parent 929d729 commit d9f2391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/SearchBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export default function SearchBox({
onClick={() => {
if (query) {
searchParams.set("q", query);
if (ontologyId) searchParams.set("ontologyId", ontologyId);
if (ontologyId) searchParams.set("ontology", ontologyId);
navigate(`/search?${new URLSearchParams(searchParams)}`);
}
}}
Expand Down

0 comments on commit d9f2391

Please sign in to comment.