Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
- searchable option
  • Loading branch information
Syamsoul Azrien committed Jul 16, 2019
1 parent 4e3c314 commit 9948b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SSP.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function __construct($model, $cols){

foreach($cols as $e_key => $e_col){
if(isset($e_col['db'])){
$e_searchable = (isset($e_col['searchable']) && is_bool($e_searchable)) ? $e_col['searchable'] : true;
$e_searchable = (isset($e_col['searchable']) && is_bool($e_col['searchable'])) ? $e_col['searchable'] : true;

if(is_a($e_col['db'], get_class(DB::raw('')))){
$e_col_db_arr = explode(" AS ", $e_col['db']->getValue());
Expand Down

0 comments on commit 9948b13

Please sign in to comment.