Changes between Version 6 and Version 7 of JoinedResourceController


Ignore:
Timestamp:
09/20/09 18:41:20 (15 years ago)
Author:
Fran Boon
Comment:

response.s3.filter (not needed yet as not used in views - but maybe in the future

Legend:

Unmodified
Added
Removed
Modified
  • JoinedResourceController

    v6 v7  
    9797    response.title = T('Overdue Invoices')
    9898    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)
    100100    s3.crud_strings.fin_invoice.title_list = response.title
    101101    s3.crud_strings.fin_invoice.msg_list_empty = T('No Invoices currently overdue')
     
    103103}}}
    104104
    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)
     105The {{{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)
    106106== Argument Lists ==
    107107