fixing bugs in seo generate, fix bug set publish time in post, changes in import posts command, changes in pagination
This commit is contained in:
@@ -68,10 +68,12 @@ class ClientPostController extends Controller
|
||||
return $query->withAnyTags($slugsArray);
|
||||
})
|
||||
->orderBy('publish_at', $request->input('sort', 'desc'))
|
||||
->paginate(6)
|
||||
->withQueryString());
|
||||
->paginate(9)
|
||||
->withQueryString()
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
$categories = Cache::remember('categories', now()->addHours(48), function () {
|
||||
return CategoryResource::collection(Category::has('posts')->get());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user