|
|
@@ -581,7 +581,7 @@
|
|
|
<input type="hidden" name="sortingType" value="NEW"/>
|
|
|
</form>
|
|
|
|
|
|
- <script src="/ux/plugins/gaga/gaga.infinite.scrollSession.js"></script>
|
|
|
+ <script th:src="@{'/ux/plugins/gaga/gaga.infinite.scrollSession.js?v=' + ${#calendars.format(#calendars.createNow(), 'yyyyMMddHHmmss')}}" src="/ux/plugins/gaga/gaga.infinite.scrollSession.js"></script>
|
|
|
<script src="/ux/plugins/jquery/jquery.history.min.js"></script>
|
|
|
<script th:src="@{'/biz/search.js?v=' + ${#calendars.format(#calendars.createNow(), 'yyyyMMddHHmmss')}}" src="/biz/search.js"></script>
|
|
|
|
|
|
@@ -727,7 +727,7 @@
|
|
|
$("#searchGoodsForm input:hidden[name=unisex]").remove();
|
|
|
$("#searchGoodsForm input:hidden[name=newGoods]").remove();
|
|
|
var historyData = sessionStorage.getItem(document.location.href);
|
|
|
- // console.log('historyData>>'+historyData);
|
|
|
+ console.log('historyData>>'+historyData);
|
|
|
if(historyData!=null){
|
|
|
historyData = JSON.parse(historyData);
|
|
|
}else{
|
|
|
@@ -747,7 +747,21 @@
|
|
|
filterStatHtml = historyData.filterStatHtml;
|
|
|
}
|
|
|
if(typeof historyData.totalCount!='undefined' && historyData.totalCount!=''){
|
|
|
- $("#totCntId").text(historyData.totalCount);
|
|
|
+ $("#totCntId").text(historyData.totalCount.addComma());
|
|
|
+ $("#prodListCnt").text('('+historyData.totalCount.addComma()+')');
|
|
|
+ }else{
|
|
|
+ $("#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\');');
|
|
|
@@ -828,6 +842,7 @@
|
|
|
$("#eventListCnt").text('(0)');
|
|
|
}else{
|
|
|
$("#eventListCnt").text('('+result.eventList.length.addComma()+')');
|
|
|
+ gagaInfiniteScroll.pageStatus.eventCount = result.eventList.length;
|
|
|
}
|
|
|
|
|
|
if(result.eventList != null && result.eventList.length>0){
|
|
|
@@ -869,6 +884,7 @@
|
|
|
$("#planListCnt").text('(0)');
|
|
|
}else{
|
|
|
$("#planListCnt").text('('+result.planList.length.addComma()+')');
|
|
|
+ gagaInfiniteScroll.pageStatus.planningCount = result.planList.length;
|
|
|
}
|
|
|
$("#planNodata").hide();
|
|
|
$("#planKeyword").text('');
|