Skip to content

Commit

Permalink
Fix display of studies autocomplete results
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Oct 4, 2023
1 parent aae3bfc commit 83b9da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idr_gallery/static/idr_gallery/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function autoCompleteDisplayResults(queryVal, data, filterImageKeys) {
const highlightStudy = results.length === 0;
let studiesHtml = ""
if (!filterImageKeys) {
getMatchingStudiesHtml(queryVal, highlightStudy);
studiesHtml = getMatchingStudiesHtml(queryVal, highlightStudy);
} else {
results = results.filter(res => filterImageKeys.includes(res.Key));
}
Expand Down

0 comments on commit 83b9da8

Please sign in to comment.