- Corretta query di estrapolazione libri su GM (Marco)

- aggiornato bestseller su fatlast1Y
- non mostrare piu i libri che non hanno l'immagine (sul catalogo).
- metti online i compressi
This commit is contained in:
Surya Paolo
2025-06-16 19:36:48 +02:00
parent f146b36173
commit 1298184b2e
21 changed files with 432 additions and 65 deletions

View File

@@ -47,6 +47,7 @@ import type {
IPagina,
IMyScheda,
ICollana,
ISchedaSingola,
} from '@model';
import { Privacy, TipoVisu } from '@model';
@@ -10130,7 +10131,7 @@ export const tools = {
return myrec;
},
getScaleX(optcatalogo: IOptCatalogo, scheda?: ISchedaSingola, options?: any): number | undefined {
getScaleX(optcatalogo: IOptCatalogo, scheda?: IMyScheda, options?: any): number | undefined {
let scalex = 1;
if (
optcatalogo.printable &&
@@ -10149,13 +10150,13 @@ export const tools = {
}
if (scheda) {
scalex *= scheda.scalex || 1;
scalex *= scheda.scalexscheda || 1;
}
return scalex;
},
getScaleY(optcatalogo: IOptCatalogo, scheda?: ISchedaSingola, options?: any): number | undefined {
getScaleY(optcatalogo: IOptCatalogo, scheda?: IMyScheda, options?: any): number | undefined {
let scaley = 1;
if (
optcatalogo.printable &&
@@ -10174,7 +10175,7 @@ export const tools = {
}
if (scheda) {
scaley *= scheda?.scaley || 1;
scaley *= scheda?.scaleyscheda || 1;
}
return scaley;