Skip to content
Snippets Groups Projects

[RTIP] hotline : #200741 : better search with domain and filtre

Merged Sebastien ANDRE requested to merge hotline#200741_lenteurs_yonne_execution_d_un_domaine into master
All threads resolved!
Compare and Show latest version
2 files
+ 7
2
Preferences
Compare changes
Files
2
+ 6
1
@@ -337,7 +337,6 @@ class Class_TypeDoc extends Storm_Model_Abstract {
protected $_belongs_to = ['codif_type_doc' =>
['model' => 'Class_CodifTypeDoc',
'referenced_in' => 'id' ]];
protected string $_label_field = 'label';
const
UNKNOWN = 0,
@@ -625,4 +624,10 @@ class Class_TypeDoc extends Storm_Model_Abstract {
public function isUserFriendly() {
return $this->getFamilleId() > Class_CodifTypeDoc::INCONNU;
}
protected function _labelField(): string
{
return 'label';
}
}