Browse Source

Merge pull request 'update logic setUpPayload custom select' (#131) from dev-ibnu into staging

Reviewed-on: ordo/adw-backend#131
pull/3/head
ibnu 1 year ago
parent
commit
5cf0dd42f7
  1. 2
      app/Http/Controllers/Controller.php

2
app/Http/Controllers/Controller.php

@ -106,7 +106,7 @@ class Controller extends BaseController
if($condition){
if(isset($condition['select'])){
foreach($condition['select'] as $select){
$builder = $builder->select($alias.".".$select);
$builder = $builder->addSelect($alias.".".$select);
}
}
if(isset($condition['joins'])){

Loading…
Cancel
Save