Skip to content

Commit

Permalink
MIR-1362 fix SOLR-request for all fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksiy 'Alex' Levshyn committed Oct 25, 2024
1 parent b5653f4 commit bf7b6e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@
if (origSearchAction.includes('servlets/solr/find')) {
const replAction = origSearchAction.replace(/(.*[&|\?])(condQuery=.*?)&(.*)/,'$1$3');
if (searchTypeButtonValueAttr === 'all') {
newAction = replAction + "&condQuery=" + condQuery + "&fq=allMeta:" + addValue;
newAction = replAction + "&condQuery=" + condQuery + "+AND+" + addValue;
} else {
newAction = replAction + "&condQuery=" + condQuery + "&fq=" + searchTypeButtonValueAttr + ":" + addValue;
}
Expand Down

0 comments on commit bf7b6e9

Please sign in to comment.