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-21742 Proximity search validation improvement #11643

Merged
merged 1 commit into from
Feb 7, 2018

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Feb 7, 2018

Overview

Change hard error to form validation message for invalid/ ungeocodable data entered in the proximity search.

Before

screenshot 2018-02-07 13 56 26

After

screenshot 2018-02-07 13 51 55

Technical Details

The PR introduces a rule for the custom searches which they can override to perform validation.

Comments

I will rebase this once #11540 is merged


@eileenmcnaughton eileenmcnaughton changed the title Prox search (I will rebase this once #11540 is merged) CRM-21742 Prox search (I will rebase this once #11540 is merged) Feb 7, 2018
@eileenmcnaughton eileenmcnaughton changed the title CRM-21742 Prox search (I will rebase this once #11540 is merged) CRM-21742 Proximity search validation improvement (I will rebase this once #11540 is merged) Feb 7, 2018
@monishdeb
Copy link
Member

@eileenmcnaughton please rebase it as #11540 is merged

@eileenmcnaughton
Copy link
Contributor Author

@monishdeb done - I was so totally happy to do that!

@eileenmcnaughton eileenmcnaughton changed the title CRM-21742 Proximity search validation improvement (I will rebase this once #11540 is merged) CRM-21742 Proximity search validation improvement Feb 7, 2018
@eileenmcnaughton
Copy link
Contributor Author

test this please

@colemanw
Copy link
Member

colemanw commented Feb 7, 2018

Great change :)

@colemanw colemanw merged commit c10a4b1 into civicrm:master Feb 7, 2018
@colemanw colemanw deleted the prox_search branch February 7, 2018 14:59
@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
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants