Bugzilla – Attachment 86026 Details for
Bug 22442
Item search CSV export broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22442: (bug 13618 follow-up) Fix item search CSV export
Bug-22442-bug-13618-follow-up-Fix-item-search-CSV-.patch (text/plain), 1.79 KB, created by
Josef Moravec
on 2019-03-04 19:04:46 UTC
(
hide
)
Description:
Bug 22442: (bug 13618 follow-up) Fix item search CSV export
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2019-03-04 19:04:46 UTC
Size:
1.79 KB
patch
obsolete
>From 8eb622cebe1ebbfbf97e3d7a1689582d82b524db Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <josef.moravec@gmail.com> >--- > .../intranet-tmpl/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 39dad76..e0be353 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.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22442
:
86021
|
86026
|
86337