Changes between Version 6 and Version 7 of JoinedResourceController
- Timestamp:
- 09/20/09 18:41:20 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JoinedResourceController
v6 v7 97 97 response.title = T('Overdue Invoices') 98 98 overdue = datetime.date.today() - timedelta(days=30) 99 s3.filter = (db.fin_invoice.date_out==None) & (db.fin_invoice.date_in < overdue)99 response.s3.filter = (db.fin_invoice.date_out==None) & (db.fin_invoice.date_in < overdue) 100 100 s3.crud_strings.fin_invoice.title_list = response.title 101 101 s3.crud_strings.fin_invoice.msg_list_empty = T('No Invoices currently overdue') … … 103 103 }}} 104 104 105 The {{{ s3.filter}}} provides a filter which is used in the list view to show the desired subset of records (note that the s3.crud_strings can also be customised). When done in the Controller like this, they are good for just this request)105 The {{{response.s3.filter}}} provides a filter which is used in the list view to show the desired subset of records (note that the s3.crud_strings can also be customised). When done in the Controller like this, they are good for just this request) 106 106 == Argument Lists == 107 107