https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31143
--- Comment #74 from Katrin Fischer <[email protected]> --- After pushing this I realized that Koha doesn't like borrowers.dateexpiry to be NULL :( The patron auto-complete search dies: Uncaught TypeError: item.expiry_date is null The error is the same if you use the auto-complete in the top search or when you transfer a list to another patron (found this while testing bug 30955) What I did was: * UPDATE borrowers set dateexpiry = "0000-00-00"; * Ran the script without -c to check that it would not change data * Then forgot I had not fixed the data and kept testing things... * I tested bug 30955, realized the problem and ran it with -c * auto-complete was still broken with the fixed data * I manually ran: UPDATE borrowers set dateexpiry = NULL; Still no luck. We either need to fix the auto-complete patron search or have the script re-calculate the dateexpiry from the patron category. I am leaning towards making the patron search deal with NULL. -- You are receiving this mail because: 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/
