[Koha-bugs] [Bug 27824] Report batch operations break with space in placeholder

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 5 15:45:39 CEST 2023


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

--- Comment #4 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 153060
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153060&action=edit
Bug 27824: Trim column headers

To support additional spaces.

Using the system for defining a column name placeholder (Bug 23390), if there
is a space inside the column name placeholder it won't work. The SQL example in
Bug 5697:

SELECT
i.itemnumber,
i.itemnumber as Exemplarnummber,
[[i.itemnumber| itemnumber for batch]],
CONCAT('<a
href=\"/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=',
i.biblionumber, '&itemnumber=', i.itemnumber, '#edititem', '\">', i.itemnumber,
'</a>' ) AS "itemnumber as edit link"
FROM items i

"[[i.itemnumber| itemnumber for batch]]" has a space before "itemnumber for
batch." With that space removed it works as expected.

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


More information about the Koha-bugs mailing list