O'Reilly logo

Mastering Drupal 8 Views by Gregg Marshall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Sorting and Filtering

This chapter introduces sorting and filtering. Using Views' default sorting of the last updated date/time and list of all properties wouldn't be too useful for a large real estate agency that may have hundreds of properties, especially if a visitor was looking for a house that has been for sale for quite a while. Sorting lets you specify the order you want your results to be displayed in, and you can also sort within sorts, which is called a multilevel sort. Once we have the properties in a reasonable order, we'll learn how to group the results when there is more than one row with the same value. Next, we will move on to limiting which results are displayed using filtering. The simplest filters are fixed at the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required