Changes between Version 60 and Version 61 of S3/FilterForms
- Timestamp:
- 06/01/17 08:19:59 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/FilterForms
v60 v61 284 284 ||resource||S3Resource||The resource to render the filter form for. Important: do not just use the {{{r.resource}}} instance here (because it's coming with pre-filtered options), instead create a new instance using {{{s3db.resource(r.resource.tablename)}}} ''(required)''|| - || 285 285 ||get_vars||dict||the GET vars (=URL query vars) to populate the filter widgets from ''(required)''|| - || 286 ||target||string||the HTML element ID of the target object (e.g. a datalist or datatable) ''(required if the form is set to ajax=True)'' ||None||286 ||target||string||the HTML element ID of the target object (e.g. a datalist or datatable) ''(required if the form is set to ajax=True)'', or a string with multiple target IDs separated by blanks (make sure all targets have their ids set, e.g. "list_id"-parameter for datatables/datalists)||None|| 287 287 ||alias||string||the table alias to use in URL queries ''(required if the filtered resource is not the master resource of the request URL, e.g. a component)''||None|| 288 288