Skip to content
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#1348 - backport of PR 15654 #15655

Merged

Conversation

demeritcowboy
Copy link
Contributor

@demeritcowboy demeritcowboy commented Oct 29, 2019

Overview

https://lab.civicrm.org/dev/core/issues/1348
A change in the base class form value handling in 5.19 makes the activity search form not work anymore. It just always returns all results.

Before

Any activity search always returns all results.

After

Form field values get picked up.

Technical Details

CRM_Core_Form_Search::setFormValues() was changed to call $this->getFormValues(), but activity search already has such a function that just returns null. It doesn't seem to be used though, and removing it seems to work and looking at the related 5.18.4 code it's mostly the same.

Comments

Backport of #15654

@civibot civibot bot added the 5.19 label Oct 29, 2019
@civibot
Copy link

civibot bot commented Oct 29, 2019

(Standard links)

@seamuslee001
Copy link
Contributor

I tested this and confirmed that it causes the form to work correctly in 5.19 and this is consistent with what we have done on the case form. Merge on Pass

@seamuslee001
Copy link
Contributor

Test fail unrelated merging

@seamuslee001 seamuslee001 merged commit d8ac20a into civicrm:5.19 Oct 29, 2019
@demeritcowboy demeritcowboy deleted the activity-search-form-values branch October 29, 2019 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants