Closed timprint closed 3 years ago
What version of Craft and Link Vault?
There will be a fix for this in the next release. Until then, removing that "order" parameter should prevent the error and the results will be sorted by highest count, descending by default.
Thank you. That's working. I have another question but will open a separate issue.
I have copied the code from the groupCount example in the docs as a starting point.
I have done some test downloads and craft.linkvault.downloads and craft.linkvault.records are both working as expected but the groupCount example code above produces the following error.
Any idea what could be wrong?