I want to remove some rm categories from this page, but i dont want to use the permissions for this.
Is here the right position for this?
FindNew/ResourceItem
	
	
	
		
				
			Is here the right position for this?
FindNew/ResourceItem
		Code:
	
	    public function getResultIds(array $filters, $maxResults)
    {
        $visitor = \XF::visitor();
        /** @var \XFRM\Finder\ResourceItem $finder */
        $finder = \XF::finder('XFRM:ResourceItem')
            ->with('Category', true)
            ->with('Category.Permissions|' . $visitor->permission_combination_id)
            ->where('resource_state', '<>', 'deleted')
->where('resource_category_id', '<>', '1')
            ->where('last_update', '>', \XF::$time - (86400 * \XF::options()->readMarkingDataLifetime))
            ->order('last_update', 'DESC'); 
 
		 
					
				 
						
					 
 
		 
 
		