Repository navigation
temporarily disables query caching IF there any filters for use durin… - #4985
Merged
TomJaeger merged 5 commits intoApr 20, 2026
Merged
Conversation
…g the entry compilation of pro search results
TomJaeger
reviewed
Oct 8, 2025
TomJaeger
reviewed
Oct 8, 2025
|
|
||
| //enable anew if needed | ||
| if($enable_sql_caching != ee()->config->item('enable_sql_caching')) { | ||
| ee()->config->config['enable_sql_caching'] = ee()->config->item('changed_enable_sql_caching'); |
Contributor
There was a problem hiding this comment.
Is the logic right here? I'm not seeing it set the changed_enable_sql_caching?
Should this actually be set to the $original_sql_caching above.. see comment above
Contributor
Author
There was a problem hiding this comment.
@TomJaeger that's what line 907 is doing. I just named it poorly and, kinda, against logic lol
Will add some sanity to the variable key naming and update :)
TomJaeger
reviewed
Oct 8, 2025
TomJaeger
left a comment
Contributor
There was a problem hiding this comment.
Thanks for submitting this! Makes sense for us to get this in there..
Please see comments above.. wondering if we need a tweak before it merges in?
Contributor
Author
|
@TomJaeger Will do a sanity run through to make sure it reads logically. |
TomJaeger
reviewed
Oct 24, 2025
TomJaeger
previously approved these changes
Dec 4, 2025
Contributor
|
@codex please review |
TomJaeger
approved these changes
Apr 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…g the entry compilation of pro search results
Fixes #4984
just a simple enable / disable flow if channel query caching is enabled AND any filters are to be processed.