I am using Better Exposed Filters(BEF) module/Drupal 8/Views module.

I have a view for news list and there is a Date field that I would like to sort ascending or descending, but the sort date field(that is exposed in view) can be either links or radio buttons in BEF options. I would like to show ASC/DESC options in a dropdown to sort the results, how can I achieve this?

Thanks in advance.

  • 1
    In your View, under "Sort Criteria", click on your sort and checkmark Expose this sort to visitors, to allow them to change it. – No Sssweat Oct 25 '19 at 10:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.