From 25a00397e289ef1e1e68c24b0348bfd060f5a9e8 Mon Sep 17 00:00:00 2001 From: optrader Date: Tue, 4 Nov 2025 19:26:21 +0900 Subject: [PATCH] [251104] feat: preShopperHouse-3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🕐 커밋 시간: 2025. 11. 04. 19:26:21 📊 변경 통계: • 총 파일: 1개 • 추가: +3줄 • 삭제: -1줄 📝 수정된 파일: ~ com.twin.app.shoptime/src/reducers/searchReducer.js 🔧 주요 변경 내용: • 핵심 비즈니스 로직 개선 --- com.twin.app.shoptime/src/reducers/searchReducer.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/com.twin.app.shoptime/src/reducers/searchReducer.js b/com.twin.app.shoptime/src/reducers/searchReducer.js index 5d678406..a45ceed8 100644 --- a/com.twin.app.shoptime/src/reducers/searchReducer.js +++ b/com.twin.app.shoptime/src/reducers/searchReducer.js @@ -142,13 +142,15 @@ export const searchReducer = (state = initialState, action) => { // searchId와 relativeQueries 추출 (첫 번째 result에서) const searchId = results.length > 0 ? results[0].searchId : null; const relativeQueries = results.length > 0 ? results[0].relativeQueries : null; + const sortingType = results.length > 0 ? results[0].sortingType : null; // Key 정보 const newKey = searchId || 'null'; const preKey = state.preShopperHouseData?.results?.[0]?.searchId || 'null'; + const preSortingType = state.preShopperHouseData?.results?.[0]?.sortingType || 'null'; // [VoiceInput] Redux에 저장 로그 - console.log('[ShopperHouse]-DIFF (after API) shopperHouseKey:', newKey, '| preShopperHouseKey:', preKey); + console.log('[ShopperHouse]-DIFF (after API) shopperHouseKey:', newKey, '| preShopperHouseKey:', preKey, '| sortingType:', sortingType || 'null', '| preSortingType:', preSortingType); return { ...state,