Skip to content

Commit

Permalink
Merge pull request #121 from Invertus/DGS-306/phone-input-active-only
Browse files Browse the repository at this point in the history
DGS-306/ added additional filtration to filter active countries only
  • Loading branch information
GytisZum authored Mar 14, 2024
2 parents 220eb4e + ede5164 commit 0201c27
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 0201c27

Please sign in to comment.