Skip to content

Commit

Permalink
Merge branch 'hotfix/3426_search_discrepancy'
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Eardley committed Aug 9, 2023
2 parents 07f1e81 + 6f87cb3 commit d4e0b58
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions portality/static/js/doaj.fieldrender.edges.js
Original file line number Diff line number Diff line change
Expand Up @@ -1551,13 +1551,12 @@ $.extend(true, doaj, {
var textIdSelector = edges.css_id_selector(this.namespace, "text", this);
var text = this.component.jq(textIdSelector).val();

if (text === "") {
return;
}

// if there is search text, then proceed to run the search
var val = this.component.jq(element).val();
this.component.setSearchField(val, false);
if (text === "") {
return;
}
this.component.setSearchText(text);
};

Expand Down

0 comments on commit d4e0b58

Please sign in to comment.