Commit 2b0fb11
Backend/moderation: drop redundant Reference.is_deleted filters
Migration 0151 maps is_deleted=True to UMS visibility=hidden, so the
Reference.is_deleted == False filters in ListReferences and
get_num_references are now redundant. Drop them and rely on UMS
visibility instead.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent b4076b1 commit 2b0fb11
2 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
1014 | 1016 | | |
1015 | 1017 | | |
1016 | 1018 | | |
| 1019 | + | |
| 1020 | + | |
1017 | 1021 | | |
1018 | | - | |
1019 | 1022 | | |
1020 | 1023 | | |
1021 | 1024 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | | - | |
| 182 | + | |
184 | 183 | | |
185 | 184 | | |
186 | 185 | | |
| |||
0 commit comments