v1.4.0 - Added category search on the app
Added comments Fixed code Fixed pagination still being there without using it
This commit is contained in:
@@ -19,7 +19,7 @@ class RootController extends Controller
|
||||
$perPage = 5;
|
||||
|
||||
//All news
|
||||
$newsCollection = News::query()->orderBy('id', 'desc')->paginate($perPage);
|
||||
$newsCollection = News::query()->orderBy('id', 'desc')->get();
|
||||
|
||||
//Runs through all the news and deletes the old stuff
|
||||
foreach ($newsCollection as $new)
|
||||
|
||||
Reference in New Issue
Block a user