If you check "Expose sort order" then the sort criteria and sort order will appear as expected (e.g. radio buttons).
If you don't choose "expose sort order" then you get a default select list for the exposed sort, even if you have told BEF to use radio buttons.
In the BEF settings it says:
Expose sort order
Allow the user to choose the sort order. If sort order is not exposed, the sort criteria settings for each sort will determine its order.
So if I don't expose the sort order (i.e. ascending or descending), it should use what I specify in the sort criteria. But then I get a select list and not the radio buttons I told BEF to use.
It should be possible to expose sort criteria without exposing the sort order. For example, I can let people sort alphabetically (ascending) or date (descending). I do not want to expose the order.
For now I can hide the sort order controls with CSS.
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 1977512-4-better_exposed_filters-exposed-direction-not-required.patch. Unable to apply patch. See the log in the details link for more information. |
[ View ]
|#1||1977512-exposed-sort-required.patch||3.51 KB||Pedro Lozano|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 1977512-exposed-sort-required.patch. Unable to apply patch. See the log in the details link for more information. |
[ View ]