diff --git a/acqui/booksellers.pl b/acqui/booksellers.pl index a20935edee..ea75dbbda6 100755 --- a/acqui/booksellers.pl +++ b/acqui/booksellers.pl @@ -151,5 +151,6 @@ $template->param( count => $supplier_count, dateformat => C4::Context->preference('dateformat'), ); +$template->{VARS}->{'allbaskets'} = $allbaskets; output_html_with_http_headers $query, $cookie, $template->output; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt index 679624bb80..d256c4a785 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt @@ -62,7 +62,13 @@ $(document).ready(function() {
[% END %] - ++ [% IF ( allbaskets ) %] + Apply filter + [% ELSE %] + Cancel filter + [% END %] +