Skip to content

Commit

Permalink
added additional filtration to filter active countries only
Browse files Browse the repository at this point in the history
  • Loading branch information
GytisZum committed Jan 19, 2024
1 parent a3a7ee1 commit ede5164
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Repository/PhonePrefixRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ public function getCallPrefixesFrontOffice()
$query = new DbQuery();
$query->select('c.`call_prefix`');
$query->from('country', 'c');
$query->where('active=1');

$resource = Db::getInstance()->query($query);
$result = [];
while ($row = Db::getInstance()->nextRow($resource)) {
Expand Down

0 comments on commit ede5164

Please sign in to comment.