$q->where( function ( $q2 ) use ( $stext ) { $q2->where( 'title', 'ilike', "%$stext%" ) ); $q2->orWhere('desc', 'ilike', "%$stext%" ) ); });
$q->where( function ( $q2 ) use ( $stext ) { $q2->where( 'title', 'ilike', "%$stext%" ) ); $q2->orWhere('desc', 'ilike', "%$stext%" ) ); });