https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15538
Florent Mara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off --- Comment #6 from Florent Mara <[email protected]> --- Applied the following SQL to create a long overdue item and got the expected log print out in stdout. INSERT INTO biblio(frameworkcode, datecreated) values ('allo', '2016-05-17'); INSERT INTO biblioitems(biblionumber, volume) value ((SELECT biblionumber FROM biblio WHERE frameworkcode = 'allo'), 'blah'); INSERT INTO items(biblionumber, biblioitemnumber, barcode) values (1, (SELECT biblioitemnumber FROM biblioitems WHERE volume = 'blah'), 'barcode'); INSERT INTO items(biblionumber, biblioitemnumber, barcode) values (1, (SELECT biblioitemnumber FROM biblioitems WHERE volume = 'blah'), 'latecode'); INSERT INTO borrowers(surname, address, city, branchcode, categorycode) values ('surname', 'address', 'city', 'CPL', 'B'); INSERT INTO issues (borrowernumber, itemnumber, date_due) values ( (SELECT borrowernumber FROM borrowers WHERE surname = 'surname'), (SELECT itemnumber FROM items WHERE barcode = 'barcode'), '2016-05-17'); INSERT INTO issues (borrowernumber, itemnumber, date_due) values ( (SELECT borrowernumber FROM borrowers WHERE surname = 'surname'), (SELECT itemnumber FROM items WHERE barcode = 'latecode'), '2015-07-17'); -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
