فهرست منبع

검색화면 재수정

bin2107 4 سال پیش
والد
کامیت
4cb7344932

+ 2 - 10
src/main/webapp/WEB-INF/views/mob/display/SearchGoodsListFormMob.html

@@ -682,22 +682,14 @@
 				$("#totCntId").text('0');
 				$("#prodListCnt").text('(0)');
 			}
-			if(typeof historyData.planningCount!='undefined' && historyData.planningCount!=''){
-				$("#planListCnt").text('('+historyData.planningCount.addComma()+')');
-			}else{
-				$("#planListCnt").text('(0)');
-			}
-			if(typeof historyData.eventCount!='undefined' && historyData.eventCount!=''){
-				$("#eventListCnt").text('('+historyData.eventCount.addComma()+')');
-			}else{
-				$("#eventListCnt").text('(0)');
-			}
 			if(typeof historyData.sortingType!='undefined' && historyData.sortingType!=''){
 				$("#searchGoodsForm input:hidden[name=sortingType]").val(historyData.sortingType);
 				fnSortingChange(this,historyData.sortingType,'back','Mob');
 			}else{
 				idx++;
 				fnSearchGoodsListSearch();
+				fnGetSearchPlanningList();
+				fnGetSearchEventList();
 			}
 		}else{
 			fnCategoryGoodsInfiniteScrollInit();

+ 2 - 10
src/main/webapp/WEB-INF/views/web/display/SearchGoodsListFormWeb.html

@@ -753,16 +753,6 @@
 					$("#totCntId").text('0');
 					$("#prodListCnt").text('(0)');
 				}
-				if(typeof historyData.planningCount!='undefined' && historyData.planningCount!=''){
-					$("#planListCnt").text('('+historyData.planningCount.addComma()+')');
-				}else{
-					$("#planListCnt").text('(0)');
-				}
-				if(typeof historyData.eventCount!='undefined' && historyData.eventCount!=''){
-					$("#eventListCnt").text('('+historyData.eventCount.addComma()+')');
-				}else{
-					$("#eventListCnt").text('(0)');
-				}
 				if(gagajf.isNull($("#searchGoodsForm").find("input[name=unisex]").val())){
 					$("#unisex").attr('onclick','fnFilterOption(this,\'on\');');
 					$("#unisex").attr('checked', false);
@@ -793,6 +783,8 @@
 					idx++;
 					$(".fillter").show();
 					fnSearchGoodsListSearch();
+					fnGetSearchPlanningList();
+					fnGetSearchEventList();
 					fnSetPriceFilter();
 					fnImgOnoff();
 				}

+ 0 - 8
src/main/webapp/ux/plugins/gaga/gaga.infinite.scrollSession.js

@@ -55,8 +55,6 @@ var gagaInfiniteScroll = {
 		, filterStatHtml : ''
 		, totalCount : ''
 		, backScroll : ''
-		, planningCount : ''
-		, eventCount : ''
 	},
 	obj : {
 		  $ajaxBoxOuter : $('#listBoxOuter')
@@ -127,8 +125,6 @@ var gagaInfiniteScroll = {
 			this.pageStatus.filterStatHtml = historyData.filterStatHtml;
 			this.pageStatus.totalCount = historyData.totalCount;
 			this.pageStatus.backScroll = historyData.scroll;
-			this.pageStatus.planningCount = historyData.planningCount;
-			this.pageStatus.eventCount = historyData.eventCount;
 
 			gagaInfiniteScroll.draw(historyData.htm);
 		};
@@ -212,8 +208,6 @@ var gagaInfiniteScroll = {
 				, filterStatHtml : gagaInfiniteScroll.pageStatus.filterStatHtml
 				, totalCount : gagaInfiniteScroll.pageStatus.totalCount
 				, backScroll : sBackScroll
-				, planningCount : gagaInfiniteScroll.pageStatus.planningCount
-				, eventCount : gagaInfiniteScroll.pageStatus.eventCount
 		};
 		historyData = JSON.stringify(historyData);
 		sessionStorage.setItem(document.location.href, historyData);
@@ -239,8 +233,6 @@ var gagaInfiniteScroll = {
 					, filterStatHtml : gagaInfiniteScroll.pageStatus.filterStatHtml
 					, totalCount : gagaInfiniteScroll.pageStatus.totalCount
 					, backScroll : gagaInfiniteScroll.pageStatus.backScroll
-					, planningCount : gagaInfiniteScroll.pageStatus.planningCount
-					, eventCount : gagaInfiniteScroll.pageStatus.eventCount
 		};
 		historyData = JSON.stringify(historyData);
 		sessionStorage.setItem(document.location.href, historyData);