forked from science-ation/science-ation
Set the record type and default sort
This commit is contained in:
parent
0938342569
commit
78e311322c
@ -46,6 +46,8 @@ $editor = new TableEditor("locations",
|
|||||||
|
|
||||||
);
|
);
|
||||||
$editor->setPrimaryKey("id");
|
$editor->setPrimaryKey("id");
|
||||||
|
$editor->setRecordType("Location");
|
||||||
|
$editor->setDefaultSortField("name");
|
||||||
$editor->execute();
|
$editor->execute();
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user