Merge pull request #647 from openclassify/vedatak

Vedatak
This commit is contained in:
Ozcan Durak 2020-08-21 15:32:07 +03:00 committed by GitHub
commit de5417aaaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ class AdvRepository extends EntryRepository implements AdvRepositoryInterface
$query = $query->leftJoin('advs_advs_translations', function ($join) {
$join->on('advs_advs.id', '=', 'advs_advs_translations.entry_id');
$join->where('advs_advs_translations.locale', '=', Request()->session()->get('_locale'));
$join->where('advs_advs_translations.locale', '=', Request()->session()->get('_locale',setting_value('streams::default_locale')));
});
if (!empty($param['keyword'])) {