-
Notifications
You must be signed in to change notification settings - Fork 40
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
Optimize node access query building. #3775
Comments
We have recently moved certain bits around (from |
...I have included https://git.drupalcode.org/project/views/commit/d649d329eb2fc56d9feb1320c173fd69f3c9a986, which is part of #3720, but requires the newly-introduced |
Neither of these changes have been committed to Views or Drupal core yet. But when they are, we'll want to include the similar change to views in this PR. d649d329 | Issue #2204257 by ezra-g, andyg5000: Update Views Content access filter per core performance improvements backdrop/backdrop#2651 I have marked the views commit N/A in that views cross-port issue so we can handle it here instead. |
This was committed to Drupal core a few years back at this point, so we should add it here. Reference: https://www.drupal.org/project/drupal/issues/106721#comment-14117679 @klonos Do you want to revise your PR? |
Thanks @laryn ...I'll have a look. |
Which now has a fresh PR 😉 |
I've rebased again, all tests passing (except a cspell nag on the word |
This looks great! There's a small issue with the docblock but otherwise this would be great to get in: https://github.com/backdrop/backdrop/pull/2651/files#r1885817284 |
LGTM |
By @klonos, @laryn, @jenlampton, @quicksketch, and @herbdool. Port of Drupal issue #106721 by msonnabaum, hefox, lotyrin, erikwebb, catch, RenatoG, joelpittet, jrglasgow, sheldonkreger, bdragon, dawehner, oleg.medvedev, ezra-g, q0rban.
Thanks for fixing that up @herbdool! I merged backdrop/backdrop#2651 into 1.x for 1.30.0 after adding a backdrop/backdrop@4400676 by @klonos, @laryn, @jenlampton, @quicksketch, and @herbdool. Port of Drupal issue #106721 by msonnabaum, hefox, lotyrin, erikwebb, catch, RenatoG, joelpittet, jrglasgow, sheldonkreger, bdragon, dawehner, oleg.medvedev, ezra-g, q0rban. Thank you everyone! |
This is the equivalent for https://www.drupal.org/project/drupal/issues/106721 (D7 core), which adds a
node_add_node_grants_to_query()
helper function. It is currently RTBC, and is blocking https://www.drupal.org/node/2204257 (Views 7.x). I came across it while working on the Views crossports in #3720.PR: backdrop/backdrop#2651 (patch #133)
The text was updated successfully, but these errors were encountered: