Skip to content

Commit

Permalink
MIR-1357 fix invalid filter query if no id is given
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrebs committed Oct 1, 2024
1 parent 777ebfb commit 5e041ef
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ $(document).ready(function() {
var input = button.next().next("input");
var sortType = "";
let fq = button.data("fq");
//if no id is given set fq empty
if(fq == "-id:") {
fq = "";
}

//load genre classification
loadGenres(initContent);
Expand Down

0 comments on commit 5e041ef

Please sign in to comment.