protected function getFilterAutoRecord(dmModule $filterModule) { return $this->getPage()->getRecord()->getAncestorRecord($filterModule->getModel()); }
protected function getSortReferersQuery(dmModule $refererModule) { return $refererModule->getTable()->createQuery('r')->whereIsActive(true, $refererModule->getModel())->orderBy('r.position asc'); }