-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Counting of items broken in combination of filter_tags with attribute_text #1412
Comments
@discordier Currently I have no idea how to work around the fix for MySQL 5.7 - you might have to pull the count separately |
Proposed solution for BaseSimple.php lines 160 and following.
|
This fix works for me. |
Here some tests:
Kind regards |
Hotfix release 2.1.10 - Fix for #1412 Counting of items broken in combination of filter_tags with attribute_text - Do not add attributes if already present
fixed with #1419 |
fix doesn't work with contao 4.4.51 and MM2.1 see |
the fix work but is incompatible with sql_mode |
afak ONLY_FULL_GROUP_BY SQL mode is enabled by default .... ggrrrr |
|
@MacKP @HaraldHubinger @magicsepp |
Misst :( Aber Danke für die Info! |
Hotfix release 2.1.0 - Fix for #1412 Counting of items broken in combination of filter_tags with attribute_text - Do not add attributes if already present Conflicts: src/Attribute/BaseSimple.php
Checklist before I submit this issue report
I confirm that:
My environment is:
(Please fill in the actual values from your environment - check Contao Manager or use
composer show
)Issue description
Up to metamodels/core 2.1.6 a filter_tags on attribute_text correctly couns items.
From metamodels/core 2.1.7 items are not counted anymore.
Discussed the issue with @zonky2. It is introduced by 6efcdf7 and related to #1335
If the changes to BaseSimple.php are undone it works again.
Steps to reproduce
Describe the behaviour of the application
Up to metamodels/core 2.1.6 items are counted.
From metamodels/core 2.1.7 items are not counted anymore.
Describe the expected behaviour of the application
Items should be counted.
The text was updated successfully, but these errors were encountered: