[Koha-bugs] [Bug 24773] Report spacing incorrect on import from Mana
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 10 01:12:35 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24773
Kelly McElligott <kelly at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kelly at bywatersolutions.com
--- Comment #3 from Kelly McElligott <kelly at bywatersolutions.com> ---
Hi Jonathan,
I can give you examples; this one was uploaded 4/27/2017 and named "All Orders"
- I am pasting the sql that gets imported into the report box:
select v.name as Vendor, concat(c.basketname, ' (', c.basketno, ')') as Basket,
c.creationdate as Ordered, concat(p.firstname, ' ', p.surname) as
'Managed by', b.title, ExtractValue(bi.marcxml,
'//datafield[@tag="245"]/subfield[@code="b"]') as subtitle, b.author,
bi.isbn, bi.publishercode, o.rrp as RRP, o.ecost as EST, o.quantity as
Qty, format(o.listprice*o.quantity,2) as Total, f.budget_name as Fundfrom
aqorders oleft join aqbudgets f using (budget_id)left join biblio b using
(biblionumber)left join biblioitems bi using (biblionumber)left join aqbasket c
using (basketno)left join aqbooksellers v on (c.booksellerid=v.id)left join
borrowers p on (c.authorisedby=p.borrowernumber)order by v.name, c.basketno asc
As you can see there are odd spaces, and letters are joined to words, for
example ojoin in line 6 . The from is usually the hardest to find as it will
be merged with the word right before it in the sql.
I will also attach a screenshot.
--
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