fix(工作台): 工作台遗留缺陷跳转问题

This commit is contained in:
song-cc-rock 2024-12-05 13:48:15 +08:00 committed by Craftsman
parent 8ca8112236
commit a7ae6aaa77
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ public class BugController {
@CheckOwner(resourceId = "#request.getProjectId()", resourceType = "project")
public Pager<List<BugDTO>> page(@Validated @RequestBody BugPageRequest request) {
request.setUseTrash(false);
if (request.getRelatedToPlan() || request.getCreateByMe() || request.getAssignedToMe()) {
if (request.getRelatedToPlan() || request.getCreateByMe() || request.getAssignedToMe() || request.getUnresolved()) {
request.setTodoParam(bugService.buildBugToDoParam(request, SessionUtils.getUserId(), SessionUtils.getCurrentOrganizationId()));
}
Page<Object> page = PageHelper.startPage(request.getCurrent(), request.getPageSize(),