mirror of
1
Fork 0
forgejo/models
CaiCandong 0e74fc4a84
Fix project filter bugs (#26490)
related: #26012

### Bugs
1. missing project filter on the issue page.

1e76a824bc/modules/indexer/issues/dboptions.go (L11-L15)
3. incorrect SQL condition: some issue does not belong to a project but
exists on the project_issue table.

f5dbac9d36/models/issues/issue_search.go (L233)

### Before:

![before](https://github.com/go-gitea/gitea/assets/50507092/1dcde39e-3e2f-4151-b2c6-4d67bf493c2f)

### After:

![after](https://github.com/go-gitea/gitea/assets/50507092/badfb81f-056d-4a2f-9838-1cba9c15768d)

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2023-08-15 14:50:12 +00:00
..
actions
activities Bypass MariaDB performance bug of the "IN" sub-query, fix incorrect IssueIndex (#26279) 2023-08-07 12:23:59 +02:00
admin
asymkey
auth Pre-register OAuth2 applications for git credential helpers (#26291) 2023-08-09 14:24:07 +02:00
avatars
db Fix NuGet search endpoints (#25613) 2023-08-14 02:50:55 +00:00
dbfs
fixtures Allow to archive labels (#26478) 2023-08-14 11:56:14 +02:00
git Some fixes of the prompt of new branches (#26257) 2023-08-01 07:25:11 +00:00
issues Fix project filter bugs (#26490) 2023-08-15 14:50:12 +00:00
migrations Allow to archive labels (#26478) 2023-08-14 11:56:14 +02:00
organization
packages Fix NuGet search endpoints (#25613) 2023-08-14 02:50:55 +00:00
perm
project Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
pull
repo add disable workflow feature (#26413) 2023-08-14 15:14:30 +00:00
secret Add API route to list org secrets (#26485) 2023-08-15 14:32:43 +02:00
shared/types
system
unit
unittest Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
user
webhook
error.go
fixture_generation.go
fixture_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
main_test.go
migrate.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
migrate_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go