Showing
1 changed file
with
4 additions
and
0 deletions
@@ -55,6 +55,10 @@ const getTypeCont = (type, order) => { | @@ -55,6 +55,10 @@ const getTypeCont = (type, order) => { | ||
55 | return order === '0' ? 'd_s_desc' : 'd_s_asc'; | 55 | return order === '0' ? 'd_s_desc' : 'd_s_asc'; |
56 | case 'category': | 56 | case 'category': |
57 | return order === '0' ? 's_t_desc' : 's_t_asc'; | 57 | return order === '0' ? 's_t_desc' : 's_t_asc'; |
58 | + case 'new': | ||
59 | + return order === '0' ? 's_t_desc' : 's_t_asc'; | ||
60 | + case 'hot': | ||
61 | + return order === '0' ? 's_n_desc' : 's_n_asc'; | ||
58 | default: | 62 | default: |
59 | return order === '0' ? 's_t_desc' : 's_t_asc'; | 63 | return order === '0' ? 's_t_desc' : 's_t_asc'; |
60 | } | 64 | } |
-
Please register or login to post a comment