/** * Override the standard query to include documenttype. */ public function newQuery($excludeDeleted = true) { $query = parent::newQuery($excludeDeleted = true); $query->where('documentType', 'jobconf'); return $query; }
/** * Override the standard query to include documenttype. */ public function newQuery($excludeDeleted = true) { $query = parent::newQuery($excludeDeleted = true); $query->where('documentType', 'questiontemplate'); return $query; }