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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 1 17:12:16 CET 2021


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

            Bug ID: 27824
           Summary: Report batch operations break with space in
                    placeholder
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Reports
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 23390

I found this bug while testing Bug 5697:

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.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23390
[Bug 23390] Add placeholder syntax for column names
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list