Skip to content

Commit

Permalink
Merge branch '5.x' into 6.x
Browse files Browse the repository at this point in the history
# Conflicts:
#	CHANGELOG.md
#	src/fields/Categories.php
  • Loading branch information
angrybrad committed Nov 27, 2024
2 parents 7e0ec3d + d4c4d21 commit 2f1786d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
## Unreleased

- Added the `assetDownloadGuzzle` config setting which defaults to `false`. When it is set to `true`, Feed Me will use Guzzle to download assets instead curl directly. ([#1549](https://github.com/craftcms/feed-me/pull/1549))
- Imported Commerce Products now add a single Catalog Pricing job to the queue after an import, instead of one per Product. ([#1547](https://github.com/craftcms/feed-me/pull/1547))
- Imported Commerce Products now add a single Catalog Pricing job to the queue after an import, instead of one per Product. ([#1547](https://github.com/craftcms/feed-me/pull/1547))
- Fixed a bug where importing matching Categories could go awry if the source of the field is set to a group and not a custom source. ([#1550](https://github.com/craftcms/feed-me/pull/1550))

## 6.5.0 - 2024-10-15

Expand Down
4 changes: 4 additions & 0 deletions src/fields/Categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ public function parseField(): mixed
}
}

if ($groupId) {
$criteria['groupId'] = $groupId;
}

$criteria['status'] = null;
$criteria['limit'] = $limit;
$criteria[$match] = $dataValue;
Expand Down

0 comments on commit 2f1786d

Please sign in to comment.