Commit f34de46
committed
fix: eager-load mostRelevantPost.user.groups on discussion index
During fulltext search the index populates mostRelevantPost.user, whose
isAdmin() check would otherwise lazy-load groups per discussion.1 parent 79810f6 commit f34de46
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments