Change primaryKey and displayField for Config
This commit is contained in:
parent
84e7f463fa
commit
a228a5077c
|
@ -18,13 +18,13 @@ class Config extends AppModel {
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $primaryKey = 'Id';
|
public $primaryKey = 'Name';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display field
|
* Display field
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $displayField = 'Name';
|
public $displayField = 'Value';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue