From 4ba67fd6b6b4223b774da7c6afbf1af1648399bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cankush=5Fm=E2=80=9D?= Date: Mon, 19 Aug 2019 11:16:06 +0530 Subject: [PATCH] Task #114 feat: Cluster awareness in related field --- src/components/com_cluster/administrator/models/clusteruser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/com_cluster/administrator/models/clusteruser.php b/src/components/com_cluster/administrator/models/clusteruser.php index 52e88a5..3357797 100644 --- a/src/components/com_cluster/administrator/models/clusteruser.php +++ b/src/components/com_cluster/administrator/models/clusteruser.php @@ -143,10 +143,10 @@ public function getUsersClusters($userId = null) } else { - $clusterModel = $this->setState('filter.state', 1); $clusterModel = ClusterFactory::model('Clusters', array('ignore_request' => true)); // Get all cluster entries + $clusterModel->setState('filter.state', 1); $clusters = $clusterModel->getItems(); }