291 | | * ''tbw'' |
| 291 | When the Filter Form is used to control a dataList: |
| 292 | |
| 293 | 1. Ensure that Filter options update when entries are added/modified: |
| 294 | {{{ |
| 295 | filter_form = S3FilterForm(... |
| 296 | _id = "%s-filter-form" % list_id, |
| 297 | ) |
| 298 | }}} |
| 299 | |
| 300 | 2. Ensure that when individual datalist entries are ajax reloaded they are not filtered out due to not having the correct list_id: |
| 301 | {{{ |
| 302 | ajax_vars = {"list_id": list_id, |
| 303 | } |
| 304 | filter_form = S3FilterForm(... |
| 305 | url = URL(c=module, f=resource, args="datalist", |
| 306 | vars=ajax_vars, extension="dl"), |
| 307 | ) |
| 308 | }}} |