From 8c5b2ddec3d3f779e5256b6cb2a4869abb21e595 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 4 Sep 2020 20:42:21 +0000 Subject: [PATCH] Revert "Bug 26289: Add missing variable definition to templates" This reverts commit 8ff281cca587a612628014a45d0211b7295849f8. Signed-off-by: Lucas Gass --- .../intranet-tmpl/prog/en/includes/catalog-strings.inc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc index 910cb2f054..3e77d6a998 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc @@ -19,12 +19,6 @@ var holdcount = [% holdcount | html %]; var countorders = [% countorders | html %]; var countdeletedorders = [% countdeletedorders | html %]; - [% SET orders = biblio.orders %] - [% SET current = Context.Scalar(orders, "filter_by_current") %] - [% SET cancelled = Context.Scalar(orders, "filter_by_cancelled") %] - var countorders = [% current.count || 0 | html %]; - var countdeletedorders = [% cancelled.count || 0 | html %]; - var searchid = '[% searchid | html %]'; /* provide Z3950 search points */ function GetZ3950Terms(){ -- 2.39.5