Patch from Jason Boyer swapping the order of report and template name in emailed...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 4 May 2011 17:47:20 +0000 (17:47 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 4 May 2011 17:47:20 +0000 (17:47 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20417 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/reporter/clark-kent.pl

index 6f7f95e..d618782 100755 (executable)
@@ -368,7 +368,7 @@ sub send_success {
        $tmpl =~ s/{TO}/$r->{email}/smog;
        $tmpl =~ s/{FROM}/$email_sender/smog;
        $tmpl =~ s/{REPLY_TO}/$email_sender/smog;
-       $tmpl =~ s/{REPORT_NAME}/$r->{report}->{template}->{name} -- $r->{report}->{name}/smog;
+       $tmpl =~ s/{REPORT_NAME}/$r->{report}->{name} -- $r->{report}->{template}->{name}/smog;
        $tmpl =~ s/{RUN_TIME}/$r->{run_time}/smog;
        $tmpl =~ s/{COMPLETE_TIME}/$r->{complete_time}/smog;
        $tmpl =~ s/{OUTPUT_URL}/$url/smog;
@@ -389,7 +389,7 @@ sub send_fail {
        $tmpl =~ s/{TO}/$r->{email}/smog;
        $tmpl =~ s/{FROM}/$email_sender/smog;
        $tmpl =~ s/{REPLY_TO}/$email_sender/smog;
-       $tmpl =~ s/{REPORT_NAME}/$r->{report}->{template}->{name} -- $r->{report}->{name}/smog;
+       $tmpl =~ s/{REPORT_NAME}/$r->{report}->{name} -- $r->{report}->{template}->{name}/smog;
        $tmpl =~ s/{RUN_TIME}/$r->{run_time}/smog;
        $tmpl =~ s/{ERROR_TEXT}/$r->{error_text}/smog;
        $tmpl =~ s/{SQL}/$sql/smog;