[Koha-bugs] [Bug 5920] Remove HTML from downloaded reports

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 2 17:24:06 CET 2024


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

--- Comment #17 from Andrew Fuerste-Henry <andrewfh at dubcolib.org> ---
Clearly I've doing this too early in the morning. I applied your patches to my
testing docker and then ran my reports on the wrong Koha.

When I follow my test plan correctly, this works!
However, for my test report:
SELECT
  biblionumber, 
  CONCAT('<a
href=\"/cgi-bin/koha/catalogue/detail.pl?biblionumber=',biblionumber,'\">',title,'</a>')
AS Title 
  from biblio

When I download CSV or ODS formats, the second column contains just the title.
When I download TSV format, the second column contains just the biblionumber
(so the report is two columns of the same data).
It'd be best if all 3 options work the same way. But I'm happy to sign off on
this and pursue that consistency in a new bug if desired; this is absolutely
useful as-is.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list