[Bug 23706] New: Item search CSV export doesn't include collection code
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 Bug ID: 23706 Summary: Item search CSV export doesn't include collection code Change sponsored?: --- Product: Koha Version: 18.11 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Staff Client Assignee: koha-bugs@lists.koha-community.org Reporter: david.roberts@ptfs-europe.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com If you do an item search in the staff client and send the output to the screen, the collection column will be populated. However, if you export the same search to CSV, the column is present, but contains no data. After poking around, I found that the screen was outputting items.ccode, whereas the CSV was outputting biblioitems.collectiontitle. Both output formats should use items.ccode. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 David Roberts <david.roberts@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |david.roberts@ptfs-europe.c |ity.org |om -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 --- Comment #1 from David Roberts <david.roberts@ptfs-europe.com> --- Created attachment 93335 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=93335&action=edit Bug 23706: Item search CSV export doesn't include collection code -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 --- Comment #2 from David Roberts <david.roberts@ptfs-europe.com> --- To test: Perform an item search in the staff client Ensure your screen output contains data in the collection column. Export the same search to CSV, the collection column will not contain any results. Apply the patch Repeat the test. The collection column will now contain data which should match the output to the screen. Check that the CCODE authorised value description displays, instead of just the CCODE policy name -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 David Roberts <david.roberts@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff --- Comment #3 from David Roberts <david.roberts@ptfs-europe.com> --- To test: Perform an item search in the staff client Ensure your screen output contains data in the collection column. Export the same search to CSV, the collection column will not contain any results. Apply the patch Repeat the test. The collection column will now contain data which should match the output to the screen. Check that the CCODE authorised value description displays, instead of just the CCODE policy name -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 David Roberts <david.roberts@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david.roberts@ptfs-europe.c | |om -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 --- Comment #4 from David Roberts <david.roberts@ptfs-europe.com> --- This patch should live in koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc - I don't know what I've done wrong to get the wrong path in this patch. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 --- Comment #5 from David Roberts <david.roberts@ptfs-europe.com> --- Created attachment 93336 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=93336&action=edit LLP: Bug 23706 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 David Roberts <david.roberts@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #93335|0 |1 is obsolete| | Attachment #93336|0 |1 is obsolete| | --- Comment #6 from David Roberts <david.roberts@ptfs-europe.com> --- Created attachment 93337 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=93337&action=edit Bug 23706: Item search CSV export doesn't include collection code -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 --- Comment #7 from David Roberts <david.roberts@ptfs-europe.com> --- I think I've fixed it now. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 Amandine Zocca <azocca@ville-montauban.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |azocca@ville-montauban.fr --- Comment #8 from Amandine Zocca <azocca@ville-montauban.fr> --- We try to test today : this patch doesn't apply on a sandbox (Biblibre n°1) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply CC| |severine.queune@bulac.fr --- Comment #9 from Séverine Queune <severine.queune@bulac.fr> --- The sandbox you've requested is not ready. Some problems occurred applying patches from bug 23706: <h1>Something went wrong !</h1>Applying: LLP: Bug 23706 Using index info to reconstruct a base tree... M koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc Falling back to patching base and 3-way merge... Auto-merging koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc CONFLICT (content): Merge conflict in koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc error: Failed to merge in the changes. Patch failed at 0001 LLP: Bug 23706 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 --- Comment #10 from David Roberts <david.roberts@ptfs-europe.com> --- That looks like it's trying to apply an obsolete patch. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 --- Comment #11 from David Roberts <david.roberts@ptfs-europe.com> --- Actually, it looks like this might have already been fixed in https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22424 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Patch doesn't apply |RESOLVED CC| |katrin.fischer@bsz-bw.de --- Comment #12 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Verified that collection is now exported. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED --- Comment #13 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Actually, still an issue on 18.11 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #14 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- (In reply to David Roberts from comment #11)
Actually, it looks like this might have already been fixed in https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22424
Indeed this bug made the change. So fixed since 19.05.x ? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23706 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REOPENED |RESOLVED -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org