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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to