Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Issue #884 #901

Merged
merged 3 commits into from Apr 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -1638,7 +1638,8 @@ protected function applyLegacyParams(Builder $query, array $params = [])
$entriesIds = [$entriesIds];
}

$query->whereIn($this->primaryKeyFieldName, $entriesIds);
//$query->whereIn($this->primaryKeyFieldName, $entriesIds);
$query->whereIn(new Expression('CAST('.$this->primaryKeyFieldName.' as CHAR)'), $entriesIds);
}

if (!ArrayUtils::has($params, 'q')) {
Expand Down