Commit c102e34
Fix bug on activities (go-gitea#33008) (go-gitea#33016)
Backport go-gitea#33008 by @lunny
A repository with no issue will display a random number on activities
page. This is caused by wrong usage of `And` and `Or`.

Co-authored-by: Lunny Xiao <[email protected]>1 parent f27128b commit c102e34
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
340 | | - | |
341 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
342 | 345 | | |
343 | 346 | | |
344 | 347 | | |
| |||
0 commit comments