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.
In better_exposed_filters_exposed_form_plugin.inc - function exposed_form_alter():
What's the sense of defining $form['sort_bef_combine'] = array(..) in line 356, adding #default_value = '' in line 367 again with a different $form['sort_bef_combine'] = array(..)? There is no different condition or any return functionality, so it seems the first values will be overwritten by the later ones.
Maybe this confusion causes the issue:
#1406156: "Combine sort order with sort by" breaks pager
Comments
Comment #1
mikeker CreditAttribution: mikeker commentedIssue queue cleanup...
Combined exposed sort has been pretty substantially rewritten recently and I can't find any places where the current code overwrites a form element without using it.
Thank you for the bug report. My apologies for taking so long to address it!