Merge branch 'master' of https://github.com/bagisto/bagisto into development
This commit is contained in:
commit
dadbf2bd6a
|
|
@ -41,5 +41,27 @@ return [
|
|||
'channel_based' => true
|
||||
]
|
||||
]
|
||||
], [
|
||||
'key' => 'customer.settings.newsletter',
|
||||
'name' => 'admin::app.admin.system.newsletter',
|
||||
'sort' => 2,
|
||||
'fields' => [
|
||||
[
|
||||
'name' => 'subscription',
|
||||
'title' => 'admin::app.admin.system.newsletter-subscription',
|
||||
'type' => 'boolean'
|
||||
]
|
||||
],
|
||||
], [
|
||||
'key' => 'customer.settings.email',
|
||||
'name' => 'admin::app.admin.system.email',
|
||||
'sort' => 2,
|
||||
'fields' => [
|
||||
[
|
||||
'name' => 'verification',
|
||||
'title' => 'admin::app.admin.system.email-verification',
|
||||
'type' => 'boolean'
|
||||
]
|
||||
],
|
||||
]
|
||||
];
|
||||
|
|
@ -851,7 +851,11 @@ return [
|
|||
'cash-on-delivery' => 'Cash On Delivery',
|
||||
'money-transfer' => 'Money Transfer',
|
||||
'paypal-standard' => 'Paypal Standard',
|
||||
'business-account' => 'Business Account'
|
||||
'business-account' => 'Business Account',
|
||||
'newsletter' => 'NewsLetter Subscription',
|
||||
'newsletter-subscription' => 'Allow NewsLetter Subscription',
|
||||
'email' => 'Email Verification',
|
||||
'email-verification' => 'Allow Email Verification'
|
||||
]
|
||||
]
|
||||
];
|
||||
|
|
|
|||
|
|
@ -493,7 +493,7 @@ class ProductRepository extends Repository
|
|||
if ($attribute->type != 'price') {
|
||||
$query2 = $query2->where(function($query3) use($column, $queryParams) {
|
||||
foreach ($queryParams as $filterValue) {
|
||||
$query3 = $query3->orWhere($column, $filterValue);
|
||||
$query3 = $query3->orwhereRaw("find_in_set($filterValue, $column)");
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue