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:

Partial Call Graph (max 5 caller/called nodes):
ad_conn ad_conn (public) ad_log_deprecated ad_log_deprecated (public) ad_table_column_list ad_table_column_list (public, deprecated) export_vars export_vars (public) ad_table_sort_form ad_table_sort_form ad_table_sort_form->ad_conn ad_table_sort_form->ad_log_deprecated ad_table_sort_form->ad_table_column_list ad_table_sort_form->export_vars

Testcases:
No testcase defined.
[ show source ]
Show another procedure: