Difference between revisions of "Template:SortOrderOnListView"
From SmartWiki
Line 13: | Line 13: | ||
** ''last name'' (A to Z), then, within sets of matching first and last names, | ** ''last name'' (A to Z), then, within sets of matching first and last names, | ||
** ''email addresses'' (A to Z) | ** ''email addresses'' (A to Z) | ||
+ | |||
+ | *'''NOTE:''' If you wish to sort on the Status [[Display order]] when configuring a list view, then you must select the "Status Display Order" option from the Sort Order drop-down. This option will order your list view by the status' display order, but will only be exposed it there is at least one column with the "Status" field. | ||
* '''NOTE:''' Note that this process defines the ''default'' sort order for the list view. The list view can be re-sorted using the "[[Sort By]]" feature within the list view. | * '''NOTE:''' Note that this process defines the ''default'' sort order for the list view. The list view can be re-sorted using the "[[Sort By]]" feature within the list view. | ||
+ | |||
+ | |||
+ | When configuring a list view, the "Sort Order" tab will have another option in the drop-down called "Status Display Order", which will order your list view by the status' display order. The list view must have at least one column with the "Status" field. |
Latest revision as of 14:49, 6 March 2018
- NOTE: Read-only fields cannot be sorted against. As a result such fields are not included in the List View Builder on the Sort Order tab.
- Click on the "Add" button to add rows to the Sort Order definition.
- Choose a field that the list view should be sorted by, by default.
- Choose the "Direction" in which the sort should occur.
- "Ascending" will sort the selection from A to Z, from 0 to 9.
- "Descending" will sort the selection from Z to A, from 9 to 0.
- In the example above, the list view will be sorted by:
- first name (A to Z), then, within sets of matching first names,
- last name (A to Z), then, within sets of matching first and last names,
- email addresses (A to Z)
- NOTE: If you wish to sort on the Status Display order when configuring a list view, then you must select the "Status Display Order" option from the Sort Order drop-down. This option will order your list view by the status' display order, but will only be exposed it there is at least one column with the "Status" field.
- NOTE: Note that this process defines the default sort order for the list view. The list view can be re-sorted using the "Sort By" feature within the list view.
When configuring a list view, the "Sort Order" tab will have another option in the drop-down called "Status Display Order", which will order your list view by the status' display order. The list view must have at least one column with the "Status" field.