molten-trunk/molten5_withgrid/app/models/case_report.rb
def all_cases(options = {})
      report = self.new
      report.query = self.to_query_string({:sort => 'sfcase.last_modified_date', :order => 'DESC'}.merge(options))
      report.contact_id = current_contact.id
      report.account_id = current_contact.account.id
      report.shared = false
      report
    end
# The default report (for all accounts and contacts)
The default report (for all accounts and contacts)
The default report ( for all accounts and contacts )
def all_cases(options = {})
      report = self.new
      report.query = self.to_query_string({:sort => 'sfcase.last_modified_date', :order => 'DESC'}.merge(options))
      report.contact_id = current_contact.id
      report.account_id = current_contact.account.id
      report.shared = false
      report
    end
def all_cases ( options = { } ) report = self . new report . query = self . to_query_string ( { :sort => 'sfcase.last_modified_date' , :order => 'DESC' } . merge ( options ) ) report . contact_id = current_contact . id report . account_id = current_contact . account . id report . shared = false report end
The default report (for all accounts and contacts)
The default report ( for all accounts and contacts )
options