Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus
This commit is contained in:
commit
7f8780d328
1 file changed
+1
-1
+1
-1
@@ -606,7 +606,7 @@ class Repository
|
|||||||
|
|
||||||
$pkField = key($primaryKeyField);
|
$pkField = key($primaryKeyField);
|
||||||
|
|
||||||
return $this->where($this->entityClass::field($primaryKeyField[$pkField]->name ?? $pkField, false), $value);
|
return $this->where($this->entityClass::field($primaryKeyField[$pkField]->name ?? $pkField, $alias), $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function withJoin(string|array $fields, array $options = []) : self
|
public function withJoin(string|array $fields, array $options = []) : self
|
||||||
|
|||||||
Reference in new issue
Block a user