Difference between revisions of "Template:SortOrderOnListView"

From SmartWiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 14: Line 14:
 
** ''email addresses'' (A to Z)
 
** ''email addresses'' (A to Z)
  
<pre style="white-space: pre-wrap;  white-space: -moz-pre-wrap;  white-space: -pre-wrap;  white-space: -o-pre-wrap;  word-wrap: break-word;">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.</pre>
+
*'''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.

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.

Sortordertab.png

  1. Click on the "Add" button to add rows to the Sort Order definition.
  2. Choose a field that the list view should be sorted by, by default.
  3. 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.