Closed martyspain closed 2 months ago
Looks like that param has just been omitted, sorry about that.
Fixed for the next release. To get this early, run composer require verbb/wishlist:"dev-craft-5 as 3.0.0"
.
Brilliant, thanks for the very quick response!
Fixed in 3.0.1
Describe the bug
The example in the migration guide says that the old query format for fetching an item by passing in some combination of an element ID, a list ID and a list type handle should be updated. However, it seems like the
listTypeHandle()
query param isn't supported in the v3 syntax.I have a few queries that look like this in my codebase:
According to the migration guide example, this should be updated to the following:
When I try and load the page, I get an error instead:
Steps to reproduce
craft.wishlist.items().listTypeHandle(listTypeHandle).one()
Craft CMS version
5.1.10
Plugin version
3.0.0
Multi-site?
No
Additional context
No response