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

dev/core#1592 fix regression on relation active period #16535

Merged
merged 1 commit into from
Feb 14, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Per https://lab.civicrm.org/dev/core/issues/1592 the custom query for this field is being
ignored now it's using datepicker with relevant format changes. This causes the
custom function for the field to be called

Before

Searching for relationships with an active period of 'Today' does not return results

After

Results returned (if relationships are active today)

Technical Details

This points the relativeDateQuery off to the field's special handling. It might be we have something else for 'is active' queries but this is enough for a regression fix. Note I had to extract the qill code to be shared with this FN

Comments

@civibot
Copy link

civibot bot commented Feb 14, 2020

(Standard links)

@civibot civibot bot added the master label Feb 14, 2020
@eileenmcnaughton eileenmcnaughton changed the base branch from master to 5.23 February 14, 2020 04:45
@civibot civibot bot added 5.23 and removed master labels Feb 14, 2020
Per https://lab.civicrm.org/dev/core/issues/1592 the custom query  for this field is being
ignored now it's using datepicker with relevant format changes. This  causes the
custom function for the field to  be called
@seamuslee001
Copy link
Contributor

Tested this and confirmed that it fixes the issue in the ticket

@seamuslee001
Copy link
Contributor

Test fail unrelated

@seamuslee001 seamuslee001 merged commit 52f3fe4 into civicrm:5.23 Feb 14, 2020
@seamuslee001 seamuslee001 deleted the 523rel branch February 14, 2020 05:51
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.

2 participants