RSS Feed/News Entity not found by finder after editing

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,985
Points
823

Reputation:

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:

Code:
$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

Continue reading...
 
Status
Not open for further replies.
Top