[Koha-bugs] [Bug 5920] remove html from downloaded reports

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 5 22:05:22 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5920

--- Comment #1 from Owen Leonard <oleonard at 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.


More information about the Koha-bugs mailing list