Back to ProBlog Support

paulgrafx
paulgrafx

Minor tweak to detect tag is an empty value. Line 274 on Bloglist.php

if ($this->property('filter_type') == 'tag'){
$tag = TagModel::where('slug', '=', $this->property('filter_value'))->first();
      if($tag){
         return $tag->posts()->paginate($this->property('postsPerPage'));
      }
      else {
         return;
      }
}

Last updated

1-1 of 1