visuddhinanda 2 лет назад
Родитель
Сommit
3f891572c8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Http/Controllers/SearchPaliWbwController.php

+ 1 - 1
app/Http/Controllers/SearchPaliWbwController.php

@@ -44,7 +44,7 @@ class SearchPaliWbwController extends Controller
             $table = $table->where('style','bld');
             $whereBold = " and style='bld'";
         }else if($request->get('bold')==='off'){
-            $table = $table->whereNot('style','bld');
+            $table = $table->where('style','<>','bld');
             $whereBold = " and style <> 'bld'";
         }
         $placeholderWord = implode(",",array_fill(0, count($keyWords), '?')) ;