- 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) => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<q-page>
|
||||
<q-tabs
|
||||
v-if="optcatalogo.pdf"
|
||||
v-if="optcatalogo.pdf && tools.isEditor()"
|
||||
v-model="tabcatalogo"
|
||||
dense
|
||||
class="bg-green text-white"
|
||||
@@ -330,7 +330,7 @@
|
||||
<!-- Itera sui prodotti di ogni riga -->
|
||||
|
||||
<div class="row justify-center">
|
||||
<span v-if="optcatalogo.indebug">{{getStyleSchedaProdotto(recscheda)}}</span>
|
||||
<!--<span v-if="optcatalogo.indebug">{{getStyleSchedaProdotto(recscheda)}}</span>-->
|
||||
<div
|
||||
v-for="(prod, colIndex) in row"
|
||||
:key="`${pageIndex}-${rowIndex}-${colIndex}`"
|
||||
|
||||
Reference in New Issue
Block a user