From 9ff3e8c43d01f758381b4925cff44502f1241750 Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 수, 22 12월 2021 14:26:36 +0900 Subject: [PATCH] - 일반 사용자로 검색 기능 제대로 동작안되는 문제 해결 - 이슈 유형에서 사용중인 프로젝트는 삭제 불가 - 이슈 유형에서 프로젝트 검색 시 워크스페이스 관리자는 모든 프로젝트 검색 가능(기존엔 참여하고있는 프로젝트만 검색가능하게되어있었음) --- src/main/resources/mybatis/query-template/HostingField-template.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mybatis/query-template/HostingField-template.xml b/src/main/resources/mybatis/query-template/HostingField-template.xml index 4a14e27..a99515b 100644 --- a/src/main/resources/mybatis/query-template/HostingField-template.xml +++ b/src/main/resources/mybatis/query-template/HostingField-template.xml @@ -22,6 +22,7 @@ <if test="id != '' and id != null"> AND h.id like CONCAT('%',#{id},'%') </if> + ORDER BY h.id DESC <if test="pageSize != '' and pageSize != null"> limit #{pageSize} offset #{page}; </if> -- Gitblit v1.8.0