@@ -, +, @@
status" button for that hold
--> The page reloads but the hold is still waiting
to refresh the page and resend the request)
--> The hold should be reverted to pending status
---
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc | 2 +-
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc
@@ -262,7 +262,7 @@
[%- END -%]
[%- END # IF SuspendHoldsIntranet -%]
[%- IF ( hold.found ) -%]
-
+ [% IF hold.intransit %]Revert transit status[% ELSE %]Revert waiting status[% END %]
[%- END -%]
[% IF ( hold.intransit || hold.atdestination ) %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
@@ -1318,6 +1318,7 @@
[% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %]
[% INCLUDE 'select2.inc' %]
[% Asset.js("js/holds.js") | $raw%]
+ [% Asset.js("js/form-submit.js") | $raw%]
[% SET url_biblio_params = "biblionumber=" _ biblionumbers.join("&biblionumber=") %]
[% IF multi_hold %]
--