Distinct doesn't work when sorting by field with multiple values

Created on 19 July 2011, over 13 years ago
Updated 27 August 2018, about 6 years ago

I try to create a view that shows all nodes sorted by a field.

The field is configured to display all values in the same row (see screenshot 1). So it makes no sense to show a nodes more than once. But every node is show as often as it has values of my sorting field (see screenshot 2).

The "distinct" option in the query settings doesn't change this.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇩🇪Germany drcho

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇭Switzerland mrupsidown

    #23 "works" in the way that it removes duplicates, but my view is setup to display 18 items and when using this method, I get 18 results minus the removed duplicates.

Production build 0.71.5 2024