update
This commit is contained in:
@@ -19,7 +19,7 @@ class NameSpaceController extends Controller
|
||||
|
||||
$options = config("karudhaas.topic_filters." . $namespace);
|
||||
|
||||
$articles = Cache::store('redis')->remember("articles.$namespace", 600, function () use ($options) {
|
||||
$articles = Cache::remember("articles.$namespace", 600, function () use ($options) {
|
||||
return Article::with('source')->whereHas('topics', function ($q) use ($options) {
|
||||
$q->whereIn('slug', $options["keys"]);
|
||||
})->latest('published_date')->limit(8)->get();
|
||||
|
Reference in New Issue
Block a user