diff --git a/mir-module/src/main/resources/META-INF/resources/js/mir/relatedItem-modal.js b/mir-module/src/main/resources/META-INF/resources/js/mir/relatedItem-modal.js index 21cbf436c9..50fabf2553 100644 --- a/mir-module/src/main/resources/META-INF/resources/js/mir/relatedItem-modal.js +++ b/mir-module/src/main/resources/META-INF/resources/js/mir/relatedItem-modal.js @@ -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);