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:
@@ -89,7 +89,7 @@ class EventController extends Controller
|
||||
}
|
||||
|
||||
$event->save();
|
||||
$events = Event::query()->paginate(20);
|
||||
$events = Event::query()->get();
|
||||
|
||||
if($request->newsoption == true){
|
||||
$news = new News();
|
||||
@@ -184,7 +184,7 @@ class EventController extends Controller
|
||||
$event->update($data);
|
||||
$event->save();
|
||||
|
||||
$events = Event::query()->paginate(20);
|
||||
$events = Event::query()->get();
|
||||
|
||||
if($request->newsoption == true){
|
||||
$news = new News();
|
||||
|
||||
Reference in New Issue
Block a user