-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev/core#589 - Fix saving autocomplete search preferences #13256
Conversation
(Standard links)
|
26cd9e9
to
ec3cc27
Compare
@colemanw is this a released fix or just in the rc? I actually thought we tested those fields :-( |
OK, I've just reviewed the code as well. I see that The rest is just metadata changes. This could be merged on pass with a follow-up fix to the postal code issue and the QuickSearch name/email issue or this could be updated to fix those issues. |
thanks heap @MegaphoneJon - do you know if the 5.8 release is affected? |
@eileenmcnaughton Just tested and the answer is yes, 5.8.0 is affected. |
@colemanw I'll merge a 5.8 pr if you create one |
Overview
Fixes recent regression of saving autocomplete-related preferences on the Search Settings form.
Before
Autocomplete Contact Search and Contact Reference Options preferences do not save when submitting the Search Settings form.
See https://lab.civicrm.org/dev/core/issues/589 for details.
After
Settings are able to be saved.
Technical Details
I'm not sure exactly what caused this to regress but there has been a lot of refactoring of the settings forms of late, with the goal of making the forms more metadata-driven. When investigating the bug I noticed those two fields were getting special treatment in a number of places, for what appeared to be legacy reasons. Instead of trying to put another band-aid on those 2 fields, I removed all of their special treatment so they are completely metadata-driven. And now they work :)