https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37368 Bug ID: 37368 Summary: Patron searches break when surname and firstname are set to NULL Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: lucas@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com To recreate: 1: update borrowers set surname = NULL where borrowernumber = 19; 2. update borrowers set firstname = NULL where borrowernumber = 19; 3. Perform a patron search, see the console error: Uncaught TypeError: patron.library is undefined patron.library.name in js-patron-format.inc feels like a typo. Should be patron.library_id patron.library_name isn't a thing. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.