From 8d92c88ab341156d82156bae49c62a8101280e75 Mon Sep 17 00:00:00 2001
From: 0-Zz-ang <s1998319@gmail.com>
Date: Tue, 29 Jul 2025 09:08:52 +0900
Subject: (박서영) 설계 Document Numbering Rule 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../combo-box-settings/table/combo-box-options-detail-sheet.tsx   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'lib/docu-list-rule/combo-box-settings/table/combo-box-options-detail-sheet.tsx')

diff --git a/lib/docu-list-rule/combo-box-settings/table/combo-box-options-detail-sheet.tsx b/lib/docu-list-rule/combo-box-settings/table/combo-box-options-detail-sheet.tsx
index 1c145c55..0b2a76a4 100644
--- a/lib/docu-list-rule/combo-box-settings/table/combo-box-options-detail-sheet.tsx
+++ b/lib/docu-list-rule/combo-box-settings/table/combo-box-options-detail-sheet.tsx
@@ -88,13 +88,12 @@ export function ComboBoxOptionsDetailSheet({
       const result = await getComboBoxOptions(codeGroup.id, {
         page: 1,
         perPage: 10,
-        search: "",
-        sort: [{ id: "createdAt", desc: true }],
-        filters: [],
+        search: table.getState().globalFilter || "",
+        sort: table.getState().sorting,
+        filters: table.getState().columnFilters,
         joinOperator: "and",
       })
       if (result.success && result.data) {
-        // isActive 필드가 없는 경우 기본값 true로 설정
         const optionsWithIsActive = result.data.map(option => ({
           ...option,
           isActive: (option as any).isActive ?? true
@@ -126,6 +125,7 @@ export function ComboBoxOptionsDetailSheet({
     enableAdvancedFilter: true,
     manualSorting: true,
     manualFiltering: true,
+    manualPagination: true, // 수동 페이징 활성화
     initialState: {
       sorting: [{ id: "createdAt", desc: true }],
       columnPinning: { right: ["actions"] },
-- 
cgit v1.2.3

