I would like to suggest splitting exposed filters and exposed sort.

Placing sort inside a seperate block or being able to attach it before a view page display. In my opinion this would greatly improve user experience.

Maybe this couid be made optional?

Comments

Would also like this feature or find out how to do it

+1 for this functionnality.

In my own use case :

  • I use a view to render search api results
  • I've a fulltext exposed filter which is located on top of each pages
  • I would be very pleased to have a block with exposed sorts on search results page, located in a sidebar

I'll crosspost on Views issues list, since this is more Views related (I tought it was a views issue here...)

In fact, you can separate those blocks quite easily :

  1. define all your filters and sorts in your view page, and expose them
  2. duplicate the page display inside the view, do not change the path, pages must use the same path
  3. now, use templates to reduce the display to what you want and/or use CSS to hide filters or sorts
  4. et voilà!

@tahiticlic Seems like a brilliant solution (thought not so elegant). Is there any chance this would cause any performance issues?

So I figured out a problem with the "solution" in #3. When one exposed filter is used from one view display and then the other is used from the second display, all of the filters selected from the first display are forgotten in favor of the latter.

Now is appears that this problem is only happening when the sort order or the items per page are changed by one of the exposed filter. As long as you only stick to changing filter criteria it seems like this is working alright. I have tested with and without AJAX enabled and with limited testing it appears that there are more issues with AJAX, but I'm not sure.

Anyways, it would be nice to see this in Views, but it is likely a views issue rather than a Better Exposed Filters issue. I'm looking for potential duplicate issues and I may come back and reassign this issue depending on what I find.

Potential duplicate issues:

#1337580: How to split the exposed filters to separate blocks?
#1420332: How to separate exposed filters and sort? - I like the panels solution used here assuming it works. My initial test has not been successful.

I find the sort exposed filters in views to be very unintuitive. It would be great to be able to split them and have a more traditional exposed search filter, and then a sort filter as a separate block.

Title:Seperate exposed sort from from exposed filterblockSeparate exposed sort form from exposed filter block

See #1337580-9: How to split the exposed filters to separate blocks? for a sandbox module that tries to solve this problem.