Larval framework upated to v5.6.33

Updated laravel frameowrk version to as suggested for security patch update which was released in v5.6.30
This commit is contained in:
Manish Verma
2018-08-15 18:38:24 +05:30
parent 5d3ffdf379
commit 8148bbd920
319 changed files with 647 additions and 1078 deletions

0
vendor/nicolaslopezj/searchable/LICENSE.txt vendored Normal file → Executable file
View File

0
vendor/nicolaslopezj/searchable/README.md vendored Normal file → Executable file
View File

0
vendor/nicolaslopezj/searchable/composer.json vendored Normal file → Executable file
View File

View File

@@ -242,7 +242,12 @@ trait SearchableTrait
$relevance_count=number_format($relevance_count,2,'.','');
$query->havingRaw("$comparator >= $relevance_count");
if ($this->getDatabaseDriver() == 'mysql') {
$bindings = [];
} else {
$bindings = $this->search_bindings;
}
$query->havingRaw("$comparator >= $relevance_count", $bindings);
$query->orderBy('relevance', 'desc');
// add bindings to postgres
@@ -339,4 +344,3 @@ trait SearchableTrait
$original->withoutGlobalScopes()->setBindings($mergedBindings);
}
}