[Koha] Help needed with report - how to extract subtitle and edition?

Elaine Bradtke eb at efdss.org
Thu Oct 25 10:23:41 NZDT 2012

I'm trying to catch duplicate items in data before I upload it (ISBN won't
help in this case). In order to do that I've written a report to list the
books currently in Koha, and will compare them with my external files.
 However, if I can't include the subtitle (MARC 245 b) I will get too many
false positives (we have lots of things with the same title, but different
It would also help if I could  also have the 250 a (edition)

This is what I have:
FROM items
 LEFT JOIN biblioitems on
LEFT JOIN biblio on (biblioitems.biblionumber=biblio.biblionumber)
WHERE items.itype='BK' AND items.holdingbranch='VWML'
ORDER BY biblio.author asc

This works fine, but doesn't include the 245 b or the 250 a  Can anyone
Elaine Bradtke
Data Wrangler
English Folk Dance and Song Society | http://www.efdss.org
Cecil Sharp House, 2 Regent's Park Road, London NW1 7AY
Tel    +44 (0) 20 7485 2206 (This number is for the English Folk Dance and
Song Society in London, England. If you wish to phone me personally, send
an e-mail first. I work off site)
Registered Company No. 297142
Charity Registered in England and Wales No. 305999
"Writing about music is like dancing about architecture"
--Elvis Costello (Musician magazine No. 60 (October 1983), p. 52)

More information about the Koha mailing list