Merge branch 'hotfix/shopSort'
Showing
1 changed file
with
4 additions
and
3 deletions
@@ -856,12 +856,13 @@ const getShopListData = (channel, params, uid) => { | @@ -856,12 +856,13 @@ const getShopListData = (channel, params, uid) => { | ||
856 | 856 | ||
857 | return searchApi.getSortList({brand: shopBrandIds}).then(subRes => { | 857 | return searchApi.getSortList({brand: shopBrandIds}).then(subRes => { |
858 | if (subRes.code === 200) { | 858 | if (subRes.code === 200) { |
859 | - let groupSort = _.get(subRes, 'data.sort', []); | 859 | + let groupSort = _.get(subRes, 'data.sort', []), |
860 | + noPageQs = Object.assign({}, params, {page: 1}); | ||
860 | 861 | ||
861 | - finalResult.leftContent = searchHandler.handleSortData(groupSort, params); | 862 | + finalResult.leftContent = searchHandler.handleSortData(groupSort, noPageQs); |
862 | 863 | ||
863 | if (finalResult.allGoods) { | 864 | if (finalResult.allGoods) { |
864 | - Object.assign(finalResult.allGoods, searchHandler.setShopSort(groupSort, params)); | 865 | + Object.assign(finalResult.allGoods, searchHandler.setShopSort(groupSort, noPageQs)); |
865 | } | 866 | } |
866 | } | 867 | } |
867 | 868 |
-
Please register or login to post a comment