ad_table_sort_form (public, deprecated)
ad_table_sort_form datadef [ type ] [ return_url ] [ item_group ] \
[ item ] [ sort_spec ] [ allowed ]Defined in packages/acs-tcl/tcl/deprecated-procs.tcl
Deprecated. Invoking this procedure generates a warning.
builds a form for setting up custom sorts.
- datadef is the table definition as in ad_table.
- type is select or radio (only select is implemented now)
- return_url is the return url passed through to the page that validates and saves the sort customization.
- item_group is a string identifying the customization "ticket_tracker_main_sort" for example.
- item is the user entered identifier
- sort_spec is the sort specifier as in ad_new_sort_by
- allowed is the list of all the columns allowed, if empty all are allowed.
An example from the ticket system:
ad_table_sort_form $tabledef select $return_url ticket_tracker_main_sort $ticket_sort $orderby
- Parameters:
- datadef (required)
- type (optional, defaults to
"select")- return_url (optional)
- item_group (optional)
- item (optional)
- sort_spec (optional)
- allowed (optional)
- See Also:
- template::list::create
- xo::Table
- Testcases:
- No testcase defined.