Entity not found by finder after editing

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:

Код:
$blogPostFinder = $this->finder('TaylorJ\UserBlogs:BlogPost')
            ->where('blog_id', $params->blog_id)
            ->order('blog_post_date', 'DESC');
(->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:

$test = $this->finder('TaylorJ\UserBlogs:BlogPost')...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ