Title: Optimization: prevent an N+1 queries case by automatially fetching sortfields if a PageTable has them by tuomassalo · Pull Request #304 · processwire/processwire · GitHub
Open Graph Title: Optimization: prevent an N+1 queries case by automatially fetching sortfields if a PageTable has them by tuomassalo · Pull Request #304 · processwire/processwire
X Title: Optimization: prevent an N+1 queries case by automatially fetching sortfields if a PageTable has them by tuomassalo · Pull Request #304 · processwire/processwire
Description: This PR attempts to fix a case where querying a sorted pagetable field causes N+1 sql queries. Issue: processwire/processwire-issues#1971
Open Graph Description: This PR attempts to fix a case where querying a sorted pagetable field causes N+1 sql queries. Issue: processwire/processwire-issues#1971
X Description: This PR attempts to fix a case where querying a sorted pagetable field causes N+1 sql queries. Issue: processwire/processwire-issues#1971
Opengraph URL: https://github.com/processwire/processwire/pull/304
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/*id(.:format) |
| route-controller | pull_requests |
| route-action | show |
| fetch-nonce | v2:8d4b4fac-10ee-729b-54d5-ab2341618940 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AF98:60067:AD669A:ED3D43:6981214C |
| html-safe-nonce | b500cf3293f8b6b9662a36e607e20086aa40e0ac13ae4b509b0b4aef501ef98d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjk4OjYwMDY3OkFENjY5QTpFRDNENDM6Njk4MTIxNEMiLCJ2aXNpdG9yX2lkIjoiMjMwOTA3NzUyNTA4NDU3ODEyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bbd31913c19702f401cc6d9a5e43e54d11fc85061702b7f4596f63977b387309 |
| hovercard-subject-tag | pull_request:2072369261 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/processwire/processwire/pull/304 |
| twitter:image | https://opengraph.githubassets.com/8fe4e9a378a80f145cfadda3da35adbaec397755f9e33b68ed0970c46dfc6d38/processwire/processwire/pull/304 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8fe4e9a378a80f145cfadda3da35adbaec397755f9e33b68ed0970c46dfc6d38/processwire/processwire/pull/304 |
| og:image:alt | This PR attempts to fix a case where querying a sorted pagetable field causes N+1 sql queries. Issue: processwire/processwire-issues#1971 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tuomassalo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 39fe8101494cbb823c09b619b68c80cd4d05ab7279997038dbe06bb91608abe1 |
| turbo-cache-control | no-preview |
| go-import | github.com/processwire/processwire git https://github.com/processwire/processwire.git |
| octolytics-dimension-user_id | 944567 |
| octolytics-dimension-user_login | processwire |
| octolytics-dimension-repository_id | 66832303 |
| octolytics-dimension-repository_nwo | processwire/processwire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 66832303 |
| octolytics-dimension-repository_network_root_nwo | processwire/processwire |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d5b34a4e4898b066c629879feb4b184bc471d6a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width