MINOR: add filterable and sortable field indexes (#10189)

This commit is contained in:
Nicolaas / Sunn Side Up 2022-01-17 10:55:55 +13:00 committed by GitHub
parent d1cac485b7
commit e40a95af27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,6 +84,12 @@ class Group extends DataObject
]; ];
private static $table_name = "Group"; private static $table_name = "Group";
private static $indexes = [
'Title' => true,
'Code' => true,
'Sort' => true,
];
public function getAllChildren() public function getAllChildren()
{ {