Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a field of date-time type. I added this field into a view and formatted the date-time field to show only year. When I switch 'aggregation' on in Views and try to group this field it didn't work as i expect and show all the dates again. I saw the Views-query and there wasn't any preformatting. It was grouping by this field only. I want the modify the query to get this fields formatted as i need(years only). Is there a way to do that with aggregation?
Comments
Comment #1
MustangGB CreditAttribution: MustangGB commented