After editing a blog post and saving the contents, that blog post is not being picked up anymore when running the following finder query:
PHP:
(->fetch() is run in the viewParams array setup)
But it is picked up when I use a finder query but without a where statement:
PHP:
Read more
Читать далее...
PHP:
Код:
$blogPostFinder = $this->finder('TaylorJ\UserBlogs:BlogPost')
->where('blog_id', $params->blog_id)
->order('blog_post_date', 'DESC');
But it is picked up when I use a finder query but without a where statement:
PHP:
$test = $this->finder('TaylorJ\UserBlogs:BlogPost')...
Read more
Читать далее...