diff --git a/docs/add-ons/search/advanced.md b/docs/add-ons/search/advanced.md index 48f012909..652ee127d 100755 --- a/docs/add-ons/search/advanced.md +++ b/docs/add-ons/search/advanced.md @@ -267,6 +267,63 @@ With this parameter, you can specify the css class you want the form to have, en With this parameter, you can specify the css id you want the form to have. +### `orderby=` + + orderby="entry_date" + +The "orderby" parameter sets the display order of the entries. The available values for this property are `entry_date`, `most_comments`, `recent_comment`, `title`, `status`, `entry_id`, `url_title`, `edit_date`, `comment_total`, `expiration_date`, `view_count_one`, `view_count_two`, `view_count_three`, `view_count_four`.` + +If this parameter is not set, it will default to ordering by entry date. + +### `sort=` + + sort="asc" + + sort="desc" + +The sort order can be "asc" (ascending order or "oldest item first") or "desc" (descending order or "newest item first"). If you do not use a sort order the default is desc. + ## Variables -A full discussion of the available variables is not feasible there is a great deal of interdependence between the various form fields, variables, and javascript functions. The Parameters can be used to modify how the search behaves. If you wish to modify the search form itself, simply use the default form as a base and customize it from there. +### `channel_names` + +Pre-populated string containing list of `