Taylor J
Well-known member
After editing a blog post and saving the contents, that blog post is not being picked up anymore when running the following finder query:
(->fetch() is run in the viewParams array setup)
But it is picked up when I use a finder query but without a where statement:
The blog_id field is still set on the entity in db after save
And here's the values that the finder finds on both of the above queries:
I'm not sure where I messed up on the saving process for an edit to cause this...
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')
->fetch();
The blog_id field is still set on the entity in db after save
And here's the values that the finder finds on both of the above queries:
I'm not sure where I messed up on the saving process for an edit to cause this...