For a project I am working on currently I am looking to add a sort
field in the exposed filters in a view that can dynamically sort my
view either by most recently added content or by most rated content.
Can someone please guide me as to how to do this in Drupal 5.x

Thanks in advance.

Comments

beautifulmind’s picture

I believe the first reply to this post is a spam.
Can any buddy remove it?
I recommend to block this spamer
Regards.

Regards.
🪷 Beautifulmind

WildfireXT’s picture

Well if you don't mind getting your hands dirty in php, I've found some kind of workaround.
I'm using Views PHP Filter, a custom module, to output a list of nodes where the input is just the node ids. You can create a webform yourself and populate an array of node ids which you send to Views PHP Filter.