From 42744fa7dee9cc7024664c0a5428eeba045f7a26 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Sat, 7 Dec 2024 19:35:55 +0100 Subject: [PATCH] aa --- app/Http/Controllers/ArticleController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ArticleController.php b/app/Http/Controllers/ArticleController.php index 53ec0357..6d89c249 100755 --- a/app/Http/Controllers/ArticleController.php +++ b/app/Http/Controllers/ArticleController.php @@ -37,7 +37,7 @@ class ArticleController extends Controller DB::raw('COALESCE(o.totaleVenduti, 0) as totaleVenduti')) ->where('DescrizioneStatoProdotto','In commercio') ->where('DescrizioneTipologia','Libri') - ->orderBy('DataOra', 'desc') + ->orderBy('totaleVenduti', 'desc') ->get(); if ($articoliVenduti->isEmpty()) {