-
-
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
CRM-19447 activity details search #9536
CRM-19447 activity details search #9536
Conversation
@twomice you can also add unit test on search form's |
Thanks, @monishdeb. I will look at these. |
@monishdeb Regarding "you can also add unit test on search form's formValues": from the example, I'm not sure what I'm really testing, and accordingly where to locate the test (e.g., tests/phpunit/CRM/Contact/BAO/...what?) Can you offer any insight? |
@twomice here's few example how you can add unit-test on Search Form's
|
Sorry to ask @monishdeb, but Jenkins testing is failing to merge the PR now: error: patch failed: CRM/Activity/BAO/Query.php:192 Any suggestions what I can do to fix this? |
…miliar to Notes Subject/Body"
2699763
to
ce16dc1
Compare
@twomice I have updated the PR and test build passes :) U might have missed --rebase, reason why there was a false merge commit. |
Thanks @monishdeb! Let me know if the PR needs more work. |
@twomice will do the QA. However some might want to have separate search filters for Activity |
@monishdeb The intent of the functionality as describedin the ticket CRM-19447 is to emulate the behavior seen for Notes, as in Advanced Search > Notes > Note Text, with options "Body Only / Subject Only / Both". So this PR aims to do what's called for in the ticket. Hopefully that's acceptable. |
Oh ok, very well proceeding with QA. There are few scope for optimization and will update this PR with those changes. |
ce16dc1
to
e4a70e4
Compare
e4a70e4
to
1cd7479
Compare
Those are great changes, @monishdeb Thanks for that, and for the merge! |
This applies the requested changes from CRM-19447, on both the Activity Search and the Advanced Search.