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.
Just ran into an interesting bug.
If you add a field, and then hit "Cancel", the click sort column option doesn't get saved. The default might be an empty string.
And the click sort function tries to use that option even if it's empty, and fails (taking the query down with it).
Two changes:
1) Abort the click sort if the column is empty
2) Better detecting of column defaults (if there is only one column, use it as the default)
Comment | File | Size | Author |
---|---|---|---|
click_sort_tweak.patch | 1.51 KB | bojanz | |
Comments
Comment #1
dawehnerThanks. As talked in irc this makes 100% sense