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])
|
||||
->distinct()
|
||||
->all()
|
||||
->extract($fieldToExtract)
|
||||
->toList();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue