From Philip.Bertling at rbg.vic.gov.au Fri Sep 18 03:56:23 2020 From: Philip.Bertling at rbg.vic.gov.au (Philip Bertling) Date: Fri, 18 Sep 2020 01:56:23 +0000 Subject: [Koha-oz] Help with late serials report References: <39e4f919-06c7-4436-ae26-85e7775959b9.708a92c0-060a-4607-8b46-9d864b3fee2e.faaf306d-e1b7-4bee-99b2-b07f35b8337f@emailsignatures365.codetwo.com> <39e4f919-06c7-4436-ae26-85e7775959b9.31360c51-4c1b-4814-beed-02b3dd453d30.5afee4df-caf0-4d23-9054-0feeccee2d1e@emailsignatures365.codetwo.com> Message-ID: Hello all, apologies in advance for a rather long email. We are trying to refine our late serials report and are having some problems with the results data. Our report returns 200 results but only 20 of the results have title and bib number information, the remaining results have no title or bib number (blank cells) and only serial sequence of the late issue, planned date, serial ID and subscription ID. By using the serial ID to trace back and examine the serials with missing title info I find that most of them are "closed" subs but a few are genuine "open" subs with late issues expected. I can find no problem with the bib record or sub record of these titles, so why are they not appearing in the report with title and bib number information? Here below is the SQL of the report; note that if I change the LEFT JOIN to simply JOIN the report returns only the 20 results with full title info, but what about the genuine results with missing title that do have late issues? Any suggestions most welcome. Thanks & regards, Philip Report SQL: SELECT b.biblionumber, b.title, s.serialseq, s.planneddate, s.serialid, s.subscriptionid FROM serial s LEFT JOIN biblio b USING (biblionumber) WHERE s.planneddate < CURDATE() AND s.STATUS NOT IN ('1','2') Philip Bertling Library Technician Library [cid:logo_2_44d690de-8900-4005-856c-10b45c4e3142.gif] Royal Botanic Gardens Victoria Birdwood Avenue Melbourne Victoria 3004 T +61 3 9252 2382 Philip.Bertling at rbg.vic.gov.au rbg.vic.gov.au [cid:Facebook_262bd55f-acb1-4241-885d-aeca54d786cf.gif] [cid:Twitterlogo_0239f90c-b285-48e4-b395-f0ebad856f0f.jpg] [cid:Instagramlogo_1bc60a46-7ae4-482c-b6ce-3162b19f9931.jpg] We acknowledge the Traditional Custodians of the land on which we work and learn and pay our respects to their Elders past, present and future. This email and any attachments may contain information that is personal, confidential, legally privileged and/or copyright. No part of it should be reproduced, adapted or communicated without the prior written consent of the sender and/or copyright owner. It is the responsibility of the recipient to check for and remove viruses. If you have received this email in error, please notify the sender by return email, delete it from your system and destroy any copies. You are not authorised to use, communicate or rely on the information contained in this email. Please consider the environment before printing this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logo_2_44d690de-8900-4005-856c-10b45c4e3142.gif Type: image/gif Size: 4244 bytes Desc: logo_2_44d690de-8900-4005-856c-10b45c4e3142.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Facebook_262bd55f-acb1-4241-885d-aeca54d786cf.gif Type: image/gif Size: 126 bytes Desc: Facebook_262bd55f-acb1-4241-885d-aeca54d786cf.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Twitterlogo_0239f90c-b285-48e4-b395-f0ebad856f0f.jpg Type: image/jpeg Size: 6487 bytes Desc: Twitterlogo_0239f90c-b285-48e4-b395-f0ebad856f0f.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Instagramlogo_1bc60a46-7ae4-482c-b6ce-3162b19f9931.jpg Type: image/jpeg Size: 6464 bytes Desc: Instagramlogo_1bc60a46-7ae4-482c-b6ce-3162b19f9931.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Virtual_Garden_1d9fe3e1-93ad-4613-8049-c6f0cf976ed5.jpg Type: image/jpeg Size: 162294 bytes Desc: Virtual_Garden_1d9fe3e1-93ad-4613-8049-c6f0cf976ed5.jpg URL: