- risolto Ordinamento Bestseller (a 6 mesi ora)

- EditOn anche per gli Editori
This commit is contained in:
Surya Paolo
2024-12-17 21:38:21 +01:00
parent 7619ce5b51
commit ce86dd51a8
10 changed files with 41 additions and 36 deletions

View File

@@ -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) => {