This commit is contained in:
paoloar77
2024-06-13 13:33:02 +02:00
parent 186877b9ba
commit b51fa906ca

View File

@@ -324,6 +324,7 @@ function libriInPrevendita()
->where(DB::raw('CONVERT(INT, QtaDisponibile)'), '<', 0)
->where('DescrizioneFormato', 'brossura')
// ->where('DescrizioneTipologia', 'Libri')
->where(DB::raw('UNIX_TIMESTAMP(DataOra)'), '>', 0) // Verifica che DataOra sia maggiore del 01-01-1970
->orderBy('DataPubblicazione', 'desc')
->get();
$sep = ' | ';