lib/controllers/smile_controllers_timelog.rb
# 1/ REWRITTEN, RM 4.0.3 OK
# Smile specific #797962 Time Entry Report Queries
1/ REWRITTEN, RM 4.0.3 OK
Smile specific #797962 Time Entry Report Queries
1 / REWRITTEN RM 4 . 0 . 3 OK Smile specific #797962 Time Entry Report Queries
def report
          retrieve_time_report_query
          , replaced by method to override it
          prepare_report_object
          respond_to do |format|
            format.html { render :layout => !request.xhr? }
            format.csv  { send_data(report_to_csv(@report), :type => 'text/csv; header=present', :filename => 'timelog.csv' ) }
          end
        end
def report retrieve_time_report_query prepare_report_object respond_to do | format | format . html { render :layout => ! request . xhr? } format . csv { send_data ( report_to_csv ( @report ) , :type => 'text/csv; header=present' , :filename => 'timelog.csv' ) } end end
1/ REWRITTEN, RM 4.0.3 OK
Smile specific #797962 Time Entry Report Queries
1 / REWRITTEN RM 4 . 0 . 3 OK Smile specific #797962 Time Entry Report Queries
# Smile comment : NATIVE source code # retrieve_time_entry_query # Smile comment : NATIVE source code, replaced by method to override it # @report = Redmine::Helpers::TimeReport.new(@project, @issue, params[:criteria], params[:columns], scope)