mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: add filterable and sortable field indexes (#10189)
This commit is contained in:
parent
d1cac485b7
commit
e40a95af27
@ -85,6 +85,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()
|
||||||
{
|
{
|
||||||
$doSet = new ArrayList();
|
$doSet = new ArrayList();
|
||||||
|
Loading…
Reference in New Issue
Block a user