-
-
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
dev/core#2676 SearchKit - Add LocBlock entity to display Event location data #20746
Conversation
This fixes the order of joins, fixes a bug where the label fields were getting overwritten by implicit joins before they could be used for explicit joins, and uses the label field for explicit joins instead of just the entity name.
(Standard links)
|
Code looks right to me but will leave this open for @michaelmcandrew to review as well |
Ping @kurund |
@colemanw - I do not really know much at all about this part of the codebase so can't really be of much help. Nothing stands out in any case. |
@michaelmcandrew I think what Seamus was saying is that he reviewed the code but hasn't run it. If you can do so then his half and your half together would make a complete review and this can be merged. |
Got it - @kurund - could you test this as part of the relevant Omega issue. |
@colemanw I just pulled this down as I thought it would be easy to verify but I'm seeing not seeing it |
@colemanw yeah that was it So this works but I hit a usability issue - as soon as I added 'address' it added a conditional on the location type. It took me a while to realise that was why no results were coming back. I doesn't seem to happen on email (And if we WERE to add some default conditional it would be is_primary not location type = billing) |
@eileenmcnaughton ok I've created #20803 |
OK - with that out of scope of this PR I'm happy to merge this one |
Overview
Allows Event location data (address, email, phone, im) to be searched on and displayed in SearchKit.
See https://lab.civicrm.org/dev/core/-/issues/2676