By dijo on
Hi friends,
I have a category list page displayed using views. It has displayed in a table view and there are several fields are there in the table. Is there any way to provide sort option to help user filter the content easily. I want to help user to sort by Countries, which is created as a taxonomy. And I also want to provide 2 more sorting option based on the value of the field, custom field created using the CCK module.
Is there anyway to do this??!!
regards
Dijo
Comments
Change the table settings
Hello Dijo,
As you are using the table-style for your view, you can set the sorting options from the settings for table. Click the gearbox icon to the right of the Style: Table setting. This opens the settings specific to the table. You can set the properties for each column including the sortability of the column.
Mind you that the Sort Criteria in the View setting applies to the database query, which is overridden by the table settings.
Mark
Hi Mark, Thanks you for
Hi Mark,
Thanks you for helping me. Its working fine. In the case of countries, is there any way to set a drop-down of countries to sort for a particular country? I have created a taxonomy for the countries. I have tried and not found any solution.
thanks
Dijo
Filter views
Hi Dijo,
You can at least set a filter for your countries and then expose it. This will give the end user a search box that is applied to filter for a specific country. Views itself can not turn it into a drop-down, but there might be a contributed module that provides this functionality. Try a search here on the site.
Mark