Attempt to fix N+1 issues

This commit is contained in:
Mark Gregory
2026-06-16 20:05:13 +01:00
parent fc3371ea77
commit 85b96144c0
3 changed files with 14 additions and 4 deletions
+7
View File
@@ -197,3 +197,10 @@ versions:
- Eager-loaded requester and agent company relations on the ticket detail/edit views to prevent Debugbar N+1 alerts.
- Kept agent, status and priority persistence on CSRF-protected POST routes with compact action buttons.
- Kept module.json version in sync with changelog.yaml.
"1.3.11":
changed:
- Eager-loaded the current user company, ticket requester company, ticket agent company, comment user company and attachment user company on the ticket detail page to remove the remaining Debugbar N+1 alert.
- Eager-loaded company data for assignable agent dropdown users without changing agent, status or priority persistence behaviour.
- Kept module.json version in sync with changelog.yaml.