Merge branch 'fronkdev' into 'master'

Fixed pops retrieval in Network

See merge request fronk/thetool!166
This commit is contained in:
Frank Schubert
2024-01-11 14:16:01 +00:00

View File

@@ -114,7 +114,7 @@ class Network extends mfBaseModel {
}
if($name == "pops") {
$pops = PopNetworkModel::search(['network_id' => $this->id]);
$pops = PopModel::search(['network_id' => $this->id]);
$this->pops = $pops;
return $this->pops;
}