Browse Source

update logic setUpPayload custom select

pull/3/head
ibnu 1 year ago
parent
commit
71e21226d2
  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