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

[REGRESSION] CRM-21806: Fix issues is search form when FULL_GROUP_BY_MODE enabled #11769

Merged
merged 1 commit into from
Mar 10, 2018

Conversation

monishdeb
Copy link
Member

@monishdeb monishdeb commented Mar 6, 2018

Overview

This PR fixes the issues encountered after #11746 merge on Advanced Search and Custom search forms when FULL_GROUP_BY_MODE is enabled, those are listed under Before section

Before

  1. Fatal Error on Custom Searches - 'undefined getSelect function'
  2. A simple search via 'Advanced Search' form throws an error unknown column civicrm_address.id :
    screen shot 2018-03-06 at 1 12 47 pm

After

  1. Fixed
  2. Correctly return the rows:
    screen shot 2018-03-06 at 1 12 12 pm

Technical Details

Thanks to the fix made here it now exposes any query failure while populating entries in prevnext table.


@monishdeb
Copy link
Member Author

ping @eileenmcnaughton @lcdservices

@monishdeb monishdeb changed the title CRM-21806: Fix issues is search form when FULL_GROUP_BY_MODE enabled (regression) [REGRESSION] CRM-21806: Fix issues is search form when FULL_GROUP_BY_MODE enabled Mar 6, 2018
@monishdeb
Copy link
Member Author

@eileenmcnaughton can we get this PR merged before 4.7.32-rc cut?

@totten
Copy link
Member

totten commented Mar 8, 2018

This passes r-run.

Related: https://lab.civicrm.org/dev/core/issues/9

@totten totten merged commit 4d8eee5 into civicrm:master Mar 10, 2018
@monishdeb monishdeb deleted the CRM-21806 branch March 12, 2018 05:31
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.

3 participants