diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js index 4c3eef5109..d0c09e09ab 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/holds.js +++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js @@ -410,6 +410,10 @@ $(document).ready(function () { data: function (oObj) { holds[oObj.reserve_id] = oObj; //Store holds for later use + if (!SuspendHoldsIntranet) { + return ""; + } + if (oObj.found) { return ""; } else if (oObj.suspend == 1) {