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 in item should be displayed. On the current master, the infos from all items of the record is exported.
Created attachment 41846 [details] [review] 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.
Created attachment 41869 [details] [review] [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
> Sponsored-by: Universidad de El Salvador Hum, this does not seem to be at the correct place :)
(In reply to Jonathan Druart from comment #3) > > Sponsored-by: Universidad de El Salvador > > Hum, this does not seem to be at the correct place :) Where to place? or I need an institutional email to appear in the credits when released? Regards
(In reply to Héctor Eduardo Castro Avalos from comment #4) > (In reply to Jonathan Druart from comment #3) > > > Sponsored-by: Universidad de El Salvador > > > > Hum, this does not seem to be at the correct place :) > > Where to place? or I need an institutional email to appear in the credits > when released? > > Regards The 'Sponsored-by' only applies for patches generated by the sponsor, not for signers. The RM cans add your institution in the release notes, if needed.
Created attachment 41944 [details] [review] [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. Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> Works as advertised
Created attachment 42544 [details] [review] [PASSED QA] 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. Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> Works as advertised Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Patch pushed to master. Thanks Jonathan!