mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update AssociateAction.php
This commit is contained in:
@@ -238,7 +238,7 @@ class AssociateAction extends Action
|
||||
}
|
||||
|
||||
return $query->where(
|
||||
// https://github.com/filamentphp/filament/issues/8067
|
||||
// https://github.com/filamentphp/filament/issues/8067
|
||||
$relationship->getParent()->getTable() === $relationship->getRelated()->getTable() ?
|
||||
$relationship->getParent()->getKeyName() :
|
||||
$relationship->getParent()->getQualifiedKeyName(),
|
||||
|
||||
Reference in New Issue
Block a user