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

CRM-21634 Standardise search fields as they relate to contacts #11492

Merged
merged 1 commit into from
Jan 16, 2018

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Jan 9, 2018

Overview

Standardise the fields available on different component searches (e.g tags is only available on Contribute, add to Member, Pledge & Participant). I only touched searches Participant, Contribute, Pledge & Member to keep scope manageable.

Before

screenshot 2018-01-09 15 49 31
screenshot 2018-01-09 15 49 22
screenshot 2018-01-09 15 49 11
screenshot 2018-01-09 15 48 54

After

screenshot 2018-01-09 17 14 03
screenshot 2018-01-09 17 13 55
screenshot 2018-01-09 17 13 46
screenshot 2018-01-09 17 13 37

Technical Details

I have increased the shared code component between these searches.

Comments

It would probably be easy to do this for some of the other searches but others have some extra complexity so have kept to the 'core four'. Also formatting inconsistency between searches is odd but pre-dates this


@eileenmcnaughton eileenmcnaughton force-pushed the search branch 2 times, most recently from f9dae51 to 7546161 Compare January 9, 2018 04:12
@seamuslee001
Copy link
Contributor

Jenkins re test this please

@eileenmcnaughton
Copy link
Contributor Author

test this please

* @return string
*/
protected function getContactTypeLabel() {
return ts('Participant Contact Type');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eileenmcnaughton this needs to be changed to member

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes, opps

@seamuslee001
Copy link
Contributor

  • (r-jira) Pass
  • (r-test) Pass
  • (r-code) Modified Pass - Minor change required as per comment
  • (r-doc) Pass
  • (r-maint) Pass simplifies code maintenance
  • (r-run) Pass ran the Participant and memberships and also Pledges as were able to successfully filter on Tags and also on Groups as needed
  • (r-user) Pass Standardises the UI and improves UX
  • (r-tech) Pass

@eileenmcnaughton
Copy link
Contributor Author

@seamuslee001 I fixed the line you pointed out & am adding merge on pass per your review

@seamuslee001
Copy link
Contributor

ping @monishdeb @colemanw

@eileenmcnaughton
Copy link
Contributor Author

test this please

1 similar comment
@eileenmcnaughton
Copy link
Contributor Author

test this please

@eileenmcnaughton eileenmcnaughton merged commit 0785ded into civicrm:master Jan 16, 2018
@eileenmcnaughton eileenmcnaughton deleted the search branch January 16, 2018 23:37
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Feb 1, 2018
civicrm#11492

Bug: 184496
Change-Id: Id7edd36e043a7a3ce0f693a53da6d05af746747d
@mlutfy mlutfy added this to the 4.7.31 milestone Feb 9, 2018
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.

4 participants