All old circulation issues and their corresponding borrowers and the titles of the items borrowed
Good day Koha users and developers! I would like to share this mysql report that I came up to when my boss requested me to show all old circulation issues since the beginning. I went to the koha mysql report wiki but did not find what my boss wanted so I just created one and I'm sharing it. Here is the mysql query: SELECT old_issues.*, borrowers.cardnumber, borrowers.surname, borrowers.firstname, borrowers.sort1, borrowers.sort2, items.barcode, items.datelastborrowed, items.datelastseen, items.itemcallnumber, items.issues, items.holdingbranch, items.location, items.permanent_location, items.onloan, items.ccode, items.itype, items.enumchron, items.copynumber, items.location, b.totalissues, EXTRACTVALUE( b.marcxml, '//datafield[@tag="245"]/subfield[@code>="a"]' ) as TITLE FROM old_issues LEFT JOIN borrowers ON ( borrowers.borrowernumber = old_issues.borrowernumber ) LEFT JOIN items ON ( items.itemnumber = old_issues.itemnumber ) LEFT JOIN biblioitems AS b ON ( items.biblioitemnumber = b.biblioitemnumber) -- View this message in context: http://koha.1045719.n5.nabble.com/All-old-circulation-issues-and-their-corre... Sent from the Koha-general mailing list archive at Nabble.com.
* schnydszch (eugenegf@yahoo.com) wrote:
Good day Koha users and developers! I would like to share this mysql report that I came up to when my boss requested me to show all old circulation issues since the beginning. I went to the koha mysql report wiki but did not find what my boss wanted so I just created one and I'm sharing it.
That's excellent Another useful place to share it is on the wiki itself :) Chris -- Chris Cormack Catalyst IT Ltd. +64 4 803 2238 PO Box 11-053, Manners St, Wellington 6142, New Zealand
I don't know where to put it. Do I need to have wiki login? I don't have yet. In any rate, could somebody please add it in the koha reports wiki. Thanks and cheers! -- View this message in context: http://koha.1045719.n5.nabble.com/All-old-circulation-issues-and-their-corre... Sent from the Koha-general mailing list archive at Nabble.com.
Hi, Il 24/04/2013 03:36, schnydszch ha scritto:
I don't know where to put it. Do I need to have wiki login? I don't have yet. In any rate, could somebody please add it in the koha reports wiki. Thanks and cheers!
the wiki page for SQL report library is here: http://wiki.koha-community.org/wiki/SQL_Reports_Library Your report now is here: http://wiki.koha-community.org/wiki/SQL_Reports_Library#Old_circulation_issu... To edit the wiki page, ask for a login here: http://wiki.koha-community.org/wiki/Special:RequestAccount Bye Zeno Tajoli -- Dr. Zeno Tajoli Dipartimento Gestione delle Informazioni e della Conoscenza z.tajoli@cineca.it fax +39 02 2135520 CINECA - Sede operativa di Segrate
participants (3)
-
Chris Cormack -
schnydszch -
Zeno Tajoli