Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.

Commit

Permalink
Sort mt:Order attributes in order of decreasing utility
Browse files Browse the repository at this point in the history
  • Loading branch information
markpasc committed Feb 21, 2009
1 parent dedcc10 commit 1c6e201
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ If set to `ascend`, reorders the content from first to last (that is, 1 to 9
and A to Z). Otherwise, the items are sorted in descending order (Z to A and 9
to 1).

#### `limit` ####

Specifies how many `mt:OrderItem`s to show. That is, after reordering all the
`mt:OrderItem` tags, discard all but this many items.

#### `offset` ####

Specifies a number of `mt:OrderItem`s to skip. That is, after reordering all
the `mt:OrderItem` tags, discard this many items from the front of the list.

#### `natural` ####

If set to `1`, sorting values that look like numbers will be sorted
Expand All @@ -81,16 +91,6 @@ When using this attribute, you can safely omit the `natural`, `sort_order`,
and `by` attributes, and you need not set sorting values inside your
`mt:OrderItem` tags.

#### `offset` ####

Specifies a number of `mt:OrderItem`s to skip. That is, after reordering all
the `mt:OrderItem` tags, discard this many items from the front of the list.

#### `limit` ####

Specifies how many `mt:OrderItem`s to show. That is, after reordering all the
`mt:OrderItem` tags, discard all but this many items.

#### `by` ####

Specifies the name of the variable by which to order items. If not given, the
Expand Down

0 comments on commit 1c6e201

Please sign in to comment.