diff options
| author | horus | 2023-12-29 17:05:10 +0100 |
|---|---|---|
| committer | horus | 2023-12-29 17:05:10 +0100 |
| commit | 67e074289a05e2b21235ea369b3a0c04211aee87 (patch) | |
| tree | f54f8d20b866d9e4e3ebee887e858fa6727ce89c | |
| parent | 75e9f607b7c026deff140bb4bba48804c05612b1 (diff) | |
| download | curious-67e074289a05e2b21235ea369b3a0c04211aee87.tar.gz | |
Change order in topic/(name) feed to respect impact factor.
| -rw-r--r-- | app/Http/Controllers/IndexController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Http/Controllers/IndexController.php b/app/Http/Controllers/IndexController.php index da93efa..50f2bf4 100644 --- a/app/Http/Controllers/IndexController.php +++ b/app/Http/Controllers/IndexController.php @@ -31,6 +31,7 @@ class IndexController extends Controller abort(404); } $articles = $articles->getArticles(); + $articles = $articles->orderBy('impact', 'desc'); $count = $articles->count(); $articles = $articles->simplePaginate(10); |
