Skip to content

Commit

Permalink
Fix related search param in the project detail page
Browse files Browse the repository at this point in the history
Closes #1792
  • Loading branch information
marktaipan-cvisionai committed Aug 22, 2024
1 parent 0c09a98 commit e9ba617
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/js/project-detail/media-section.js
Original file line number Diff line number Diff line change
Expand Up @@ -719,9 +719,9 @@ export class MediaSection extends TatorElement {
params.set("encoded_search", this._searchString);
}

params.delete("related_search");
params.delete("encoded_related_search");
if (this._relatedSearchString != "" && this._relatedSearchString != null) {
params.set("related_search", this._relatedSearchString);
params.set("encoded_related_search", this._relatedSearchString);
}

return params;
Expand Down

0 comments on commit e9ba617

Please sign in to comment.