Bugzilla – Attachment 41869 Details for
Bug 14710
Export checkout list exports all item infos
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF]Bug 14710: Make the export checkout list export only the checked out item infos
SIGNED-OFFBug-14710-Make-the-export-checkout-list-.patch (text/plain), 2.17 KB, created by
Héctor Eduardo Castro Avalos
on 2015-08-24 20:10:01 UTC
(
hide
)
Description:
[SIGNED-OFF]Bug 14710: Make the export checkout list export only the checked out item infos
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2015-08-24 20:10:01 UTC
Size:
2.17 KB
patch
obsolete
>From 9a57aeb671308f695194fba63b797daa5a639d36 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 24 Aug 2015 13:19:28 +0100 >Subject: [PATCH] [SIGNED-OFF]Bug 14710: Make the export checkout list export > only the checked out item infos > >This has been introduced by bug 11703. > >Bug 13190 should have been fixed it. > >If the pref ExportWithCsvProfile is defined with a MARC CSV profile and >it contains item infos to display, only info from the checked out item >should be displayed. > >Test plan: >0/ Don't apply this patch >1/ Create a biblio with 1+ items >2/ Check one of the item out to a patron >3/ Define a CSV profile which contains item fields ("245$a|952$p" for instance) >4/ Export the item (from circ/circulation/pl) using the CSV option >Note that the csv contains the barcode from all items >5/ Apply this patch and repeat 4. >6/ Note that the csv contains only the barcode from the checked out >item. > >Sponsored-by: Universidad de El Salvador > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >Works as advertised >--- > koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js >index 23a8426..b15dd61 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js >@@ -374,7 +374,10 @@ $(document).ready(function() { > "bVisible": exports_enabled ? true : false, > "bSortable": false, > "mDataProp": function ( oObj ) { >- return "<input type='checkbox' class='export' id='export_" + oObj.biblionumber + "' name='biblionumbers' value='" + oObj.biblionumber + "' />"; >+ var s = "<input type='checkbox' name='itemnumbers' value='" + oObj.itemnumber + "' style='visibility:hidden;' />"; >+ >+ s += "<input type='checkbox' class='export' id='export_" + oObj.biblionumber + "' name='biblionumbers' value='" + oObj.biblionumber + "' />"; >+ return s; > } > } > ], >-- >1.7.10.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 14710
:
41846
|
41869
|
41944
|
42544