- Issue created by @gbmapo
Did you have an opportunity to read the release notes and the change records? Sometimes a full explanation, or perhaps a clue, is there.
To accurately identify the Drupal Core commit that changed a behavior perform a git bisect operation.
- 🇫🇷France gbmapo
After taking a look at 'Issue #2735997 by ramil g, joelpittet, ranjith_kumar_k_u, asad_ahmed, nikita_tt, mschudders, Ben Greenberg, lendude, playful: Decimal separator and decimals settings ignored when aggregating decimal fields', I tried to undo the change made to `core/modules/views/src/Plugin/views/query/Sql.php` and, bingo!, my hook worked again!
So it was in fact related to that change.
Even if I don't understand why.
As I wouldn't like to patch Drupal core, I continued to dig and finally, I made my stuff work this way:
In the view, the field which is updated by `amap_views_post_execute()` to show the rank [i.e. COUNT(Distribution inscription: Created)] was overridden by this custom text:{% if created %} {{ created }} {% else %} {% endif %}
I changed it to
{% if created__value %} {{ created__value }} {% else %} {% endif %}
and it works!
What am I supposed to do with this issue now?
Please, let me know... - 🇬🇧United Kingdom catch
Marking duplicate of the original issue which is now reverted.