Closed dowadidi closed 5 years ago
Sorry @DiederikVanHoorebeke, this is my bad: I submitted a PR without testing with Commerce Products... Please see #13 for a possible quick fix.
@svale The quick fix works. :-)
I'm getting this exact same issue when getting products, @DiederikVanHoorebeke.
I am on the latest version of the plugin though so I'd have thought this merge back in October would have resolved it. (@svale)
The PR that resolves the issue for products is still open, but see see approx line 141 for the actual (very simple) patch.
As I understand it, Craft 3 itself has dropped GROUP BY (the sinner in this case) in its data queries, so maybe @khalwat have plans for a some more re-factoring than this fix - but I wouldn't know :)
Yeah I just haven't had the time to fully vette the PR, and ensure it isn't creating other unexpected issues.
Still I'll give the PR a go and see if we can't get it out there.
Merged the PR and published the release as 1.0.5: https://github.com/nystudio107/craft-similar/releases/tag/1.0.5
Thanks again @svale !
After upgrading to 1.0.4 from 1.0.3 I get a db error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'structureelements.lft' in 'group statement'
In the template: