- risolto Ordinamento Bestseller (a 6 mesi ora)
- EditOn anche per gli Editori
This commit is contained in:
@@ -431,7 +431,7 @@ export default defineComponent({
|
||||
} else if (sort === costanti.SORT_BESTSELLER) {
|
||||
|
||||
arrprod = arrprod.sort((a: IProduct, b: IProduct) => {
|
||||
return b.productInfo.rank3M! - a.productInfo.rank3M!
|
||||
return b.productInfo.vLast6M! - a.productInfo.vLast6M!
|
||||
})
|
||||
|
||||
arrprod = arrprod.map((product, index) => {
|
||||
|
||||
Reference in New Issue
Block a user