Model/ResourceModel/Pdfgenerator/AbstractCollection.php
public function addFieldToFilter($field, $condition = null)
    {
        if ($field === 'store_id') {
            return $this->addStoreFilter($condition, false);
        }

        return parent::addFieldToFilter($field, $condition);
    }
public function addFieldToFilter($field, $condition = null)
    {
        if ($field === 'store_id') {
            return $this->addStoreFilter($condition, false);
        }

        return parent::addFieldToFilter($field, $condition);
    }
public function addFieldToFilter ( $ field , $ condition = null ) { if ( $ field === 'store_id' ) { return $ this -> addStoreFilter ( $ condition , false ) ; } return parent :: addFieldToFilter ( $ field , $ condition ) ; }
Add field filter to collection

@param array|string $field
@param string|int|array|null $condition
@return \Magento\Framework\Data\Collection\AbstractDb
Add field filter to collection