Skip to content

Commit

Permalink
Issue techjoomla#6 feat: Get only enabled users node
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaykhollam committed Jul 31, 2019
1 parent cd02980 commit 11bc4c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/com_cluster/administrator/models/clusters.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ protected function getListQuery()
$query->where('(cl.state = 0 OR cl.state = 1)');
}

// Get only enabled users node
$query->where($db->quoteName('users.block') . ' = 0');

// Add the list ordering clause.
$orderCol = $this->state->get('list.ordering');
$orderDirn = $this->state->get('list.direction');
Expand Down

0 comments on commit 11bc4c0

Please sign in to comment.