[Koha-bugs] [Bug 7198] New: overdue report does not display patron name if firstname and/or surname are null

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 9 02:29:50 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7198

             Bug #: 7198
           Summary: overdue report does not display patron name if
                    firstname and/or surname are null
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_8
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
        AssignedTo: kyle.m.hall at gmail.com
        ReportedBy: gmcharlt at gmail.com
         QAContact: ian.walls at bywatersolutions.com
                CC: gmcharlt at gmail.com


The overdue report (circ/overdue.pl) fails to display the patron name if the
surname and/or firstname are null.  This is because the concat() function in
MySQL (properly) returns NULL if any of its arguments are NULL.

Instead of using concat(), the individual name components should be returned,
allowing the template to format the patron name however desired.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list