LassoScript Utility
Basics Browse Detail

[Sort_Args] ... [/Sort_Args]

Tag Link [Sort_Args] ... Category Results
Type Container Source Available No
Support Abbreviation Version 2.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x, Lasso 2.5, Lasso 2.0

Description

[Sort_Args] ... [/Sort_Args] loops through each of the sort arguments for the current database action. The [Sort_FieldItem] and [Sort_OrderItem] tags can be used to display each sort argument.

Syntax

[Sort_Args]
[Sort_FieldItem] [Sort_OrderItem]
[/Sort_Args]

Parameters

No Parameters Required.

Examples

To display the fields used to sort the current database action:

Use the [Sort_Args] ... [/Sort_Args] tags with enclosed [Sort_FieldItem] and [Sort_OrderItem] tags. The following example shows the results from a search that is sorted by Last_Name and First_Name in ascending order.

[Sort_Args]
  <br>[Sort_FieldItem] [Sort_OrderItem]
[/Sort_Args]

<br>Last_Name ascending
<br>First_Name ascending