File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -154,10 +154,20 @@ public function searchableColumnIndex()
154
154
public function isColumnSearchable ($ i , $ column_search = true )
155
155
{
156
156
if ($ column_search ) {
157
- return $ this ->request ->input ("columns. $ i.searchable " , 'true ' ) === 'true ' && $ this ->columnKeyword ($ i ) != '' ;
157
+ return
158
+ (
159
+ $ this ->request ->input ("columns. $ i.searchable " , 'true ' ) === 'true '
160
+ ||
161
+ $ this ->request ->input ("columns. $ i.searchable " , 'true ' ) === true
162
+ )
163
+ && $ this ->columnKeyword ($ i ) != '' ;
158
164
}
159
165
160
- return $ this ->request ->input ("columns. $ i.searchable " , 'true ' ) === 'true ' ;
166
+ return (
167
+ $ this ->request ->input ("columns. $ i.searchable " , 'true ' ) === 'true '
168
+ ||
169
+ $ this ->request ->input ("columns. $ i.searchable " , 'true ' ) === true
170
+ );
161
171
}
162
172
163
173
/**
You can’t perform that action at this time.
0 commit comments