-
-
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
Full-text search for Activities in Advanced Search form. #7833
Conversation
Search is performed only upon columns of civicrm_activity table, regardless of custom fields (which is the next step).
…dv_search_with_fulltext
Can one of the admins verify this patch? |
@civicrm-builder, it needs a code review |
jenkins add to whitelist |
@quoma - civicrm-builder (aka jenkins) is a bot ;) |
Jenkins, retest this please |
@quoma I'm going through a number of open PRs that may be considered for 4.7.8, and to be considered, this will need the tests to be passing. It looks like you've just got style problems such as lacking empty lines between the If you can commit your fixes in the next couple of days and the tests pass, we'll be able to consider it for merging this month. |
Heh @quoma thanks for all your contributions. As Release Manager this month, I'm trying to recruit people to help pare down the backlog of almost 100 PRs, some going back to last summer. I'm wondering if you would be able to help QA another PR if I got someone to QA this PR? |
@quoma could you create an issue in JIRA indicating what you intended this PR to do it would be easier . Thanks.for it to be QA'd. |
@anuditverma would you be interested in QA'ing this PR? |
@anuditverma, as you haven't responded, I'm going to have @bsilvern take a look at this PR. Let me know if you would have time to work on reviewing something next week in the release candidate. |
QA Review: This new feature creates in the Activities section of the Advanced Search page a mode selection drop-down with nine search modes and a search string text box, providing comprehensive text search capabilities for activities. I focused my testing only on activity types Phone calls, Emails, and Tell a friend (out of around 70 defined activity types) for 27 tests in total, in addition to additional random poking around. Generally, this PR performs as expected, but I noted the following issues for which there is room for improvement:
In conclusion, the primary issue with this PR is that searches on HTML text fields may return unexpected results due to the HTML tags and encoding of certain characters. Possible solutions include: Note that these same issues currently exist in Full Text Search or Search Builder when performing a search on activity details. |
@bsilvern could you clarify if all of the concerns you have regarding functionality are ones that are already present with Full Text Search and activity Search Builder results? If so, it might be useful to create a separate issue to modify the functionality for all of them together so that there are consistent results between different approaches. @quoma would you be able to address the issues identified by @bsilvern in time for next month's merge? We're starting to identify potential PRs to merge in July, and it would be great to see this one included. |
@JoeMurray: Yes, HTML fields do present a problem when using any of the search methods.
|
@colemanw As the person responsible for UX of CiviCRM in general, I'm wondering if you can comment on where we should go next on dealing with searches of html fields, based on @bsilvern's great summary here. It doesn't appear that @quoma is still engaged, despite the very useful functionality the PR provides. |
I think if it's not working, & not being worked on we should open a JIRA, link to this & note that there is code & discussion here & close the PR. JIRA is the place to track work that is not on the verge of completion |
Echo @eileenmcnaughton's comments. If we're not going to follow-up on items, then it's time to close this (there seem to be quite a few "almost complete" PRs waiting to get merged). Created https://issues.civicrm.org/jira/browse/CRM-19416 for the original feature request, which is linked to the outstanding issue mentioned above, (https://issues.civicrm.org/jira/browse/CRM-19010) Can an admin please close this? |
Implemented the functionality to search activities by a text query and operator ("Contains", "Starts with", etc.) in Advanced Search form.