Commit f7f47922 authored by lee20's avatar lee20 Committed by Mike Keran
Browse files

Issue #2646450 by lee20: Improve field description for Rewrite filter options textarea

parent 787f4b6c
......@@ -202,7 +202,7 @@ class better_exposed_filters_exposed_form_plugin extends views_plugin_exposed_fo
'#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>
'#description' => t('Use this field to rewrite the text displayed for combined sort options and sort order. Use the format of current_text|replacement_text, one replacement per line. For example: <pre>
Post date Asc|Oldest first
Post date Desc|Newest first
Title Asc|A -> Z
......@@ -706,11 +706,11 @@ Title Desc|Z -> A</pre> Leave the replacement value blank to remove an option al
'#default_value' => $existing[$label]['more_options']['rewrite']['filter_rewrite_values'],
'#description' => t('
Use this field to rewrite the filter options displayed. Use the format
of current_value|replacement_value, one replacement per line. For
of current_text|replacement_text, one replacement per line. For
example: <pre>
0|Zero
1|One
2|Two
Current|Replacement
On|Yes
Off|No
</pre> Leave the replacement value blank to remove an option altogether. If using hierarchical taxonomy filters, do not including leading hyphens in the current value.
'),
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment