Commit 9f92a01
Ronald A Richardson
refactor: remove redundant invite subquery from UserFilter
Now that User and CompanyUser are pinned to the production connection via
getConnectionName(), the whereHas('companyUsers') check correctly finds all
members regardless of sandbox mode. The orWhereExists invite subquery was
a workaround for the wrong root cause and is no longer needed.1 parent a7294ad commit 9f92a01
1 file changed
Lines changed: 4 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
32 | 15 | | |
33 | 16 | | |
34 | 17 | | |
| |||
0 commit comments