[Bug 5920] New: remove html from downloaded reports
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5920 Bug #: 5920 Summary: remove html from downloaded reports Classification: Unclassified Change sponsored?: --- Product: Koha Version: master Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: Reports AssignedTo: gmcharlt@gmail.com ReportedBy: nengard@gmail.com QAContact: koha-bugs@lists.koha-community.org Right now if you want to have HTML in your report you can do so - usually this is used to turn bib numbers into links or titles into links - etc. It would be great if the export to CSV function stripped out the html tags before exporting so that you could have a report that printed to the screen with links, but when downloaded just showed you the necessary data without any extraneous tags. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5920 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- You would probably have to fully re-build the SQL for output as CSV. If you simply stripped out the concatenated text you would potentially be outputting two or more fields crammed together in one column: SELECT biblionumber, CONCAT('<a href=\"/cgi-bin/koha/catalogue/detail.pl?biblionumber=',biblionumber,'\">',title,'</a>') AS Title -------------------------------------------- | biblionumber | Title | -------------------------------------------- | 29839 | 29839The stand | -------------------------------------------- -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5920 --- Comment #2 from Nicole C. Engard <nengard@gmail.com> --- This is how we do it now - but that means 2 reports - one for viewing and clicking and one for exporting. The library wanted way to use the same report for both (clicking and exporting). -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org