X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect-table.html;h=6fb6b388b267a4e0b9fd12ff7c8bbaf0e0b102d3;hb=681a340f6be4184b1472a8e1fa9cd5d074f6f325;hp=3e25c9f4952fe51c90f5927d62db7c8a53b4460f;hpb=4cacb3fa439b56fc7c9a742b69ec3f6ffd660433;p=freeside.git diff --git a/httemplate/elements/select-table.html b/httemplate/elements/select-table.html index 3e25c9f49..6fb6b388b 100644 --- a/httemplate/elements/select-table.html +++ b/httemplate/elements/select-table.html @@ -8,7 +8,7 @@ Example: # required ## 'table' => 'table_name', - 'name_col' => 'name_column', + 'name_col' => 'name_column', #or method if you pass an order_by #strongly recommended (you want your forms to be "sticky" on errors, right?) 'curr_value' => 'current_value', @@ -28,12 +28,17 @@ Example: 'agent_null_right' => '', #right to see un-agented entries #or 'records' => \@records, #instead of search params + 'presorted' => 0, #set true to disable sorting the records on name_col + + #instead of the primary key... only for special cases + 'value_col' => 'columnname', #basic params controlling the resulting