How do i create a view that can filter unique titles from a checkbox?

Posted by buws on Stack Overflow See other posts from Stack Overflow or by buws
Published on 2010-06-11T21:35:48Z Indexed on 2010/06/11 21:43 UTC
Read the original article Hit count: 271

Filed under:
|
|

I'm currently creating a view in Drupal that contains a number of fields. What I want to do is to create an exposed filter that is able to filter duplicate titles. The filter would be a checkbox.

This is an example of the list

NAME           TIME      RACE                  DISTANCE
John Doe       2.07.54   Boston Marathon       42km
Jane Boss      2.15.21   Boston Marathon       42km
John Doe       2.02.22   Boston Marathon       42km
Jane Boss      2.15.44   Boston Marathon       42km

What I want to have is an exposed filter that only shows one unique NAME and sorts it by its best time. The resulting list would look as follows:

NAME           TIME      RACE                  DISTANCE
Jane Boss      2.15.21   Boston Marathon       42km
John Doe       2.02.22   Boston Marathon       42km

Any help is appreciated!

© Stack Overflow or respective owner

Related posts about drupal

Related posts about drupal-views