X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Fsearch.html;h=5649c85790437d7095a010629310649ea531449c;hb=948b8acdd4b9b3864342062d0c397a11f57c5700;hp=c6d0bb68ba64e5e8720d4a52bc41bee2df2172a6;hpb=7002af78bc3e683ff8ce18b39de6d7de484422bf;p=freeside.git diff --git a/httemplate/search/elements/search.html b/httemplate/search/elements/search.html index c6d0bb68b..5649c8579 100644 --- a/httemplate/search/elements/search.html +++ b/httemplate/search/elements/search.html @@ -1,646 +1,755 @@ -% # options example... -% # (everything not commented required is optional) -% # -% # # basic options, required -% # 'title' => 'Page title', -% # -% # 'name_singular' => 'item', #singular name for the records returned -% # #OR# # (preferred, will be pluralized automatically) -% # 'name' => 'items', #plural name for the records returned -% # # (deprecated, will be singularlized -% # # simplisticly) -% # -% # # some HTML callbacks... -% # 'menubar' => '', #menubar arrayref -% # 'html_init' => '', #after the header/menubar and before the pager -% # 'html_foot' => '', #at the bottom -% # 'html_posttotal' => '', #at the bottom -% # # (these three can be strings or coderefs) -% # -% # -% # #literal SQL query string or qsearch hashref, required -% # 'query' => { -% # 'table' => 'tablename', -% # #everything else is optional... -% # 'hashref' => { 'field' => 'value', -% # 'field' => { 'op' => '<', -% # 'value' => '54', -% # }, -% # }, -% # 'select' => '*', -% # 'addl_from' => '', #'LEFT JOIN othertable USING ( key )', -% # 'extra_sql' => '', #'AND otherstuff', #'WHERE onlystuff', -% # -% # -% # }, -% # # "select * from tablename"; -% # -% # #required unless 'query' is an SQL query string (shouldn't be...) -% # 'count_query' => 'SELECT COUNT(*) FROM tablename', -% # -% # 'count_addl' => [], #additional count fields listref of sprintf strings -% # # [ $money_char.'%.2f total paid', ], -% # -% # #listref of column labels,
+% } - | +