'Provide the options for the Activity search filter
- all Activities with Tasks'

@staticmethod
def project_task_activity_opts():

    db = current.db
    atable = db.project_activity
    ttable = db.project_task
    ltable = db.project_task_activity
    query = (((ttable.deleted == False) & (ltable.task_id == ttable.id)) & (ltable.activity_id == atable.id))
    rows = db(query).select(atable.id, atable.name)
    return dict(((row.id, row.name) for row in rows))
