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.
Lots of boolean fields have views_handler_sort for the sort. But this doesn't make sense for humans -- what is Ascending or Descending for a yes/no choice?
We either need this handler to have more options for labels (like 'type' => 'yes-no' on views_handler_filter_boolean_operator), or make a subclass for these cases.
Comments
Comment #1
EvanDonovan CreditAttribution: EvanDonovan commentedAscending / Descending is confusing on dates as well, at least to me. But that's probably outside the scope of this issue.
Comment #2
gagarine CreditAttribution: gagarine commented#938382: Ascending and Descending words are not intuitive was marked as duplicate of this issue. Is not exactly the same issue but it's linked.
On the other issue I proposed lowest first and highest first. I find it really more intuitive.
Of course for date it would be better "early first" but I don't know if we can specify the text by type of data.
Comment #3
iamjon CreditAttribution: iamjon commentedI spoke to merlinofchoas about this on irc
he said
Marking this as an unassigned task.
Comment #4
MustangGB CreditAttribution: MustangGB commented