Closed mihob closed 3 days ago
Yeah, that might be a tricky one, as you're correct that it's now derived from the last session. I'll see what's possible!
Fixed for the next release. To get this early, run composer require verbb/events:"dev-craft-5 as 3.0.2"
.
Fixed in 3.0.3
Describe the bug
For an archive, I want to list all my events in descending order by end date:
{% set events = craft.events.events().endDate(null).orderBy('endDate').all() %}
This worked in v2 but results in the following Database Exception in v3:
The problem is probably that the order by clause is also inserted in the subquery and the column is not present there after the changeover to the session system.
Steps to reproduce
Craft CMS version
5.5.0
Plugin version
3.0.1
Multi-site?
Yes
Additional context
No response