From bb730c1b05c91ee92db09d117293a0ddb87dace1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 4 Mar 2019 14:50:36 -0300 Subject: [PATCH] Bug 22442: (bug 13618 follow-up) Fix item search CSV export We must not filter assignements statements. Test plan: Export item search result as CSV Without this patch the biblio and biblioitem values are not displayed. With this patch applied everything is displayed correctly Signed-off-by: Josef Moravec Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- .../prog/en/includes/catalogue/itemsearch_item.csv.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc index 39dad76eab..e0be3537a1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc @@ -1,5 +1,5 @@ [%- USE Branches -%] [%- USE Koha -%] -[%- biblio = item.biblio | html -%] -[%- biblioitem = item.biblioitem | html -%] +[%- SET biblio = item.biblio -%] +[%- SET biblioitem = item.biblioitem -%] "[% biblio.title | html %] [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %]by [% END %][% biblio.author | html %]", "[% (biblioitem.publicationyear || biblio.copyrightdate) | html %]", "[% biblioitem.publishercode | html %]", "[% biblioitem.collectiontitle | html %]", "[% item.barcode | html %]", "[% item.itemcallnumber | html %]", "[% Branches.GetName(item.homebranch) | html %]", "[% Branches.GetName(item.holdingbranch) | html %]", "[% item.location | html %]", "[% item.stocknumber | html %]", "[% item.status | html %]", "[% (item.issues || 0) | html %]" -- 2.39.5