Merge pull request #5814 from FaheemWebkul/DataGrid-Price-Sum-Issue

data grid sum Priceissue
This commit is contained in:
Devansh 2022-02-15 13:35:08 +05:30 committed by GitHub
commit b45b95a165
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -208,6 +208,8 @@ trait ProvideCollection
$this->resolve($collection, $columnName, $condition, $filterValue, 'whereDate');
} else if ($columnType === 'boolean') {
$this->resolve($collection, $columnName, $condition, $filterValue, 'where', 'resolveBooleanQuery');
} else if ($columnType === 'price') {
$this->resolve($collection, $columnName, $condition, $filterValue, 'having');
} else {
$this->resolve($collection, $columnName, $condition, $filterValue);
}