forgejo/modules/indexer/issues
Jason Song 5db21ce7e1
Fix counting and filtering on the dashboard page for issues (#26657)
This PR has multiple parts, and I didn't split them because
it's not easy to test them separately since they are all about the
dashboard page for issues.

1. Support counting issues via indexer to fix #26361
2. Fix repo selection so it also fixes #26653
3. Keep keywords in filter links.

The first two are regressions of #26012.

After:

https://github.com/go-gitea/gitea/assets/9418365/71dfea7e-d9e2-42b6-851a-cc081435c946

Thanks to @CaiCandong  for helping with some tests.
2023-08-23 02:29:17 +00:00
..
bleve Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 2023-07-31 06:28:53 +00:00
db Explain SearchOptions and fix ToSearchOptions (#26542) 2023-08-16 15:40:13 +00:00
elasticsearch Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 2023-07-31 06:28:53 +00:00
internal Fix counting and filtering on the dashboard page for issues (#26657) 2023-08-23 02:29:17 +00:00
meilisearch Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 2023-07-31 06:28:53 +00:00
dboptions.go Explain SearchOptions and fix ToSearchOptions (#26542) 2023-08-16 15:40:13 +00:00
indexer.go Fix counting and filtering on the dashboard page for issues (#26657) 2023-08-23 02:29:17 +00:00
indexer_test.go Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 2023-07-31 06:28:53 +00:00
util.go Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 2023-07-31 06:28:53 +00:00