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.
I can't find Combine rewrite for ASC/DESC replacment.
There is no option i view popup!
But in "better_exposed_filters_exposed_form_plugin.inc" I found this lines:
$bef_options['sort']['advanced']['combine_rewrite'] = array(
'#type' => 'textarea',
'#title' => t('Rewrite the text displayed'),
'#default_value' => $existing['sort']['advanced']['combine_rewrite'],
'#description' => t('Use this field to rewrite the text displayed for combined sort options and sort order. Use the format of current_value|replacement_value, one replacement per line. For example: <pre>
Post date Asc|Oldest first
Post date Desc|Newest first
Title Asc|A -> Z
Title Desc|Z -> A</pre> Leave the replacement value blank to remove an option altogether.'),
'#dependency' => array('edit-exposed-form-options-bef-sort-advanced-combine' => array(1)),
);
How to enable this rewrite?
Comments
Comment #1
mikeker CreditAttribution: mikeker commentedThose options are only available if you have an sort option set as exposed.
Comment #2
mikeker CreditAttribution: mikeker commentedClosing after > 8 weeks with no reply...