From a42f592181c23cb1d84d5b66b4b165aa855d57e2 Mon Sep 17 00:00:00 2001
From: jhjang <jhjang@maprex.co.kr>
Date: 수, 01 12월 2021 11:06:42 +0900
Subject: [PATCH] - api 이슈 추가 기능 완료

---
 src/main/webapp/scripts/components/utils/autoComplete.controller.js |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/scripts/components/utils/autoComplete.controller.js b/src/main/webapp/scripts/components/utils/autoComplete.controller.js
index 67227b9..ef94066 100644
--- a/src/main/webapp/scripts/components/utils/autoComplete.controller.js
+++ b/src/main/webapp/scripts/components/utils/autoComplete.controller.js
@@ -64,7 +64,8 @@
                             });
 
                             return excludeIds;
-                        })()
+                        })(),
+                        issueId : $rootScope.currentDetailIssueId
                     };
 
                     var deferred = $q.defer();
@@ -125,9 +126,16 @@
                     return deferred.promise;
                 }
 
-                function getIssueList(query, excludeList, page, callBack) {
+                function getIssueList(query, issueTypeId, excludeList, page, callBack) {
                     var conditions = {
                         name : query,
+                        issueTypeIds : (function () {
+                            var ids = [];
+
+                            ids.push(issueTypeId);
+
+                            return ids;
+                        })(),
                         excludeIds : (function () {
                             var excludeIds = [];
 

--
Gitblit v1.8.0