Summary: | Cannot add patron to patron list if PatronAutoComplete is off | ||
---|---|---|---|
Product: | Koha | Reporter: | Lucas Gass (lukeg) <lucas> |
Component: | Patrons | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | RESOLVED FIXED | QA Contact: | Testopia <testopia> |
Severity: | major | ||
Priority: | P5 - low | CC: | gmcharlt, jonathan.druart, kyle.m.hall |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
23.05.00,22.11.07
|
|
Circulation function: | |||
Attachments: |
Bug 33829: Fix add patron to patron list if PatronAutoComplete is off
Bug 33829: Fix add patron to patron list if PatronAutoComplete is off Bug 33829: Fix add patron to patron list if PatronAutoComplete is off |
Description
Lucas Gass (lukeg)
2023-05-24 21:50:38 UTC
Created attachment 151676 [details] [review] Bug 33829: Fix add patron to patron list if PatronAutoComplete is off When adding patrons to a patron list we get a JS error about undefined variables. We can easily fix this problem by defining them even if the pref is not set. We are enabling the auto complete even if PatronAutoComplete if off. Created attachment 151687 [details] [review] Bug 33829: Fix add patron to patron list if PatronAutoComplete is off When adding patrons to a patron list we get a JS error about undefined variables. We can easily fix this problem by defining them even if the pref is not set. We are enabling the auto complete even if PatronAutoComplete if off. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Created attachment 151692 [details] [review] Bug 33829: Fix add patron to patron list if PatronAutoComplete is off When adding patrons to a patron list we get a JS error about undefined variables. We can easily fix this problem by defining them even if the pref is not set. We are enabling the auto complete even if PatronAutoComplete if off. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Simple change that makes sense. Now works both with PatronAutoComplete on or off. QA script doesn't complain. Passing QA. Thanks Jonathan! Pushed to master for 23.05. Nice work everyone, thanks! Nice work everyone! Pushed to stable for 22.11.x |