No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
7ca5a95
... +73 ...
124cc94
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
97 | 97 | // FIXME: One moving to QBMapper we should allow filtering the boards probably by method chaining for additional where clauses |
|
98 | 98 | $sql = 'SELECT id, title, owner, color, archived, deleted_at, 0 as shared, last_modified FROM `*PREFIX*deck_boards` WHERE owner = ? AND last_modified > ?'; |
|
99 | 99 | if (!$includeArchived) { |
|
100 | - | $sql .= ' AND NOT archived'; |
|
100 | + | $sql .= ' AND NOT archived AND deleted_at = 0'; |
|
101 | 101 | } |
|
102 | 102 | $sql .= ' UNION ' . |
|
103 | 103 | 'SELECT boards.id, title, owner, color, archived, deleted_at, 1 as shared, last_modified FROM `*PREFIX*deck_boards` as boards ' . |
|
104 | 104 | 'JOIN `*PREFIX*deck_board_acl` as acl ON boards.id=acl.board_id WHERE acl.participant=? AND acl.type=? AND boards.owner != ? AND last_modified > ?'; |
|
105 | 105 | if (!$includeArchived) { |
|
106 | - | $sql .= ' AND NOT archived'; |
|
106 | + | $sql .= ' AND NOT archived AND deleted_at = 0'; |
|
107 | 107 | } |
|
108 | 108 | $entries = $this->findEntities($sql, [$userId, $since, $userId, Acl::PERMISSION_TYPE_USER, $userId, $since], $limit, $offset); |
|
109 | 109 | /* @var Board $entry */ |
142 | 142 | } |
|
143 | 143 | $sql .= ')'; |
|
144 | 144 | if (!$includeArchived) { |
|
145 | - | $sql .= ' AND NOT archived'; |
|
145 | + | $sql .= ' AND NOT archived AND deleted_at = 0'; |
|
146 | 146 | } |
|
147 | 147 | $entries = $this->findEntities($sql, array_merge([$userId, Acl::PERMISSION_TYPE_GROUP], $groups), $limit, $offset); |
|
148 | 148 | /* @var Board $entry */ |
174 | 174 | } |
|
175 | 175 | $sql .= ')'; |
|
176 | 176 | if (!$includeArchived) { |
|
177 | - | $sql .= ' AND NOT archived'; |
|
177 | + | $sql .= ' AND NOT archived AND deleted_at = 0'; |
|
178 | 178 | } |
|
179 | 179 | $entries = $this->findEntities($sql, array_merge([$userId, Acl::PERMISSION_TYPE_CIRCLE], $circles), $limit, $offset); |
|
180 | 180 | /* @var Board $entry */ |
Learn more Showing 13 files with coverage changes found.
lib/AppInfo/Application20.php
lib/Db/Card.php
lib/Db/BoardMapper.php
lib/Db/CardMapper.php
lib/Service/FullTextSearchService.php
lib/Search/DeckProvider.php
lib/Service/OverviewService.php
lib/Service/ConfigService.php
lib/DAV/Calendar.php
lib/DAV/CalendarPlugin.php
lib/Service/AssignmentService.php
lib/Db/AssignedUsersMapper.php
lib/AppInfo/ApplicationLegacy.php
Files | Coverage |
---|---|
FTSEvent.php | 42.85% |
Project Totals (91 files) | 49.68% |
124cc94
d45f2e9
2ea0198
ccbe2ea
568b099
a5bd24f
89bec27
2a1fa11
ba55705
df05318
bbc218d
9b6d62d
d2ceda0
af01ecd
7afe28f
56a79c9
6fa485c
66e386b
48e6bae
c754634
3d3f2de
2454df9
2a7a0e4
6edf265
8e28f8e
3b11c5c
be05ec1
b407f10
e82a2be
d7f7cf5
3fae174
b58bba2
407acc4
2ba19bd
16e79dc
f48187f
ea5aac3
3487e06
fd25300
039d3e8
31d759e
53a3058
a2ebf3d
5b7505c
516b15d
6ac8caf
e5c65a6
7b72c93
f5550c4
fb8b724
a3da157
0118c1e
9dbf45c
184cb01
b3a4cca
1272c67
214898c
7ba20e7
49f84c3
69f5698
7acd1a0
ef90ab0
1a275b0
ffb25a7
9a0476f
9b9413c
e22c6e6
92a6cbc
871edf1
05376a5
5cc5252
30bb429
52cbd3d
15ae742
7ca5a95