[RSS Feed/News] fetch() not returning full results

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I've hit an issue here that really has me scratching my head.

I'm setting a variable like this: $myList = $myRepo->getMyListForIndex()->fetch();

Here's what that function looks like:

Code:

Code:
public function getMyListForIndex()
    {
        $finder = $this->finder('Vendor\Addon:Class');
        $finder
            ->where('attach_count', '>', 0)
            ->with(['Attachment'])
            ->order('my_id', 'desc')
            ->limit(2);
            
        return $finder;
    }
...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom