Bug 21526: Use the 'url' filter when needed
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / batchMod-edit.tt
index 89679d7..07a916d 100644 (file)
@@ -79,7 +79,7 @@ $(document).ready(function(){
                   [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%]
                       <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]">Return to the record</a>
                   [% ELSIF src %]
-                      <a href="[% src | uri %]">Return to where you were</a>
+                      <a href="[% src | url %]">Return to where you were</a>
                   [% ELSE %]
                       <a href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a>
                   [% END %]
@@ -318,7 +318,7 @@ $(document).ready(function(){
 [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%]
    <a class="btn btn-default" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | html %]"><i class="fa fa-check-square-o"></i> Return to the record</a>
 [% ELSIF src %]
-   <a class="btn btn-default" href="[% src | html %]"><i class="fa fa-check-square-o"></i> Return to where you were</a>
+   <a class="btn btn-default" href="[% src | url %]"><i class="fa fa-check-square-o"></i> Return to where you were</a>
 [% ELSE %]
    <a class="btn btn-default" href="/cgi-bin/koha/tools/batchMod.pl"><i class="fa fa-check-square-o"></i> Return to batch item modification</a>
 [% END %]