Back to ProBlog Support

paulgrafx
paulgrafx

I think the following needs to be changed on the BlogList.php line 265 part of the protected function loadPosts().

$category = CategoryModel::whereRaw("LOWER(name) = '$category_name'")->first();
 $category = CategoryModel::where('slug', $category_name)->first();

or

$category = CategoryModel::where('slug', 'LIKE', strtolower($category_name))->first();

Last updated

ChadStrat
ChadStrat

Yes!!!! Thank you! I saw that and meant to circle back and update that but forgot. Next push will have this!

paulgrafx
paulgrafx

1-4 of 4