-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
Fix e-notice about inability to fill up prevnext cache by setting tag and group table names #15963
Fix e-notice about inability to fill up prevnext cache by setting tag and group table names #15963
Conversation
… and group table names
(Standard links)
|
@seamuslee001 I can't replicate the notice on 5.20 or master - this was the search I tried |
@eileenmcnaugton I was generating it when filtering using group and tags at the same time |
Hmm I didn't get it - although my search got no results - can you add a screenshot to the template? |
ah @eileenmcnaughton i think i see the issue now you were doing a search from Contacts -> find contacts This happens at hte search Contacts -> Custom Searches -> Basic Search |
…stall. From civicrm#15963 this search appears to do what the main basic search does but we can see that to make it work with sort etc we have to make changes to the BAO_Query object - doing that to support a custom search scares me & we have a big picture position that we should move these from core to an extension. However, an easy first step is not to add on new installs. In the case of this search it seems like an easy call as it doesn't add anything discernable
@seamuslee001 so looking at this has made me question what we are doing - and in particular to think that we should not treat deprecation notices as regressions unless they are popping up all the time. Where they occur in obscure places we have always used deprecation notices to flush these out & I don't think they have to be fixed as a regression. In this case I think the right answer is to deprecate & discourage use of this report - there is already a good alternative - basic-search. Fixing it requires code changes that affect basic search & advanced search etc & all for something that ideally we would not be maintaining. I propose we
|
@eileenmcnaughton i would be fine with that for this report, i still feel like e-notices are better fixed sooner rather than later so to speak. In regards to this e-notice there is only 1 other search and its the Event Aggregate one that triggers it but i dunno. i'm ok with 1 and 2 at the moment we can ponder 3 & 4 |
closing in favour of #15979 |
… and group table names
Overview
This fixes an E-notice when you use the
Basic Search
Custom search and you filter on a group or a tagBefore
E-notice shows
After
e-notice disappears
Technical Details
It seemed like when it built the from clause and the where clause different group_contact and entity_tag table names were being generated. So this fixes it by making it a property of the class
ping @eileenmcnaughton