fix: [component:CRUD] Removed deprecation notice when trying to extract without requesting the collection
parent
8c4c75d83a
commit
fa68d62890
|
@ -1480,6 +1480,7 @@ class CRUDComponent extends Component
|
||||||
}
|
}
|
||||||
return $query->select([$field])
|
return $query->select([$field])
|
||||||
->distinct()
|
->distinct()
|
||||||
|
->all()
|
||||||
->extract($fieldToExtract)
|
->extract($fieldToExtract)
|
||||||
->toList();
|
->toList();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue