Dashboards : On the Home Page, no subscription is displayed when using Monday-Friday

Hi

it is possible someone has already reported this
but I did not find by a quick check on issues@bestpractical.com.

when I select “Frequency” = “Monday through Friday”
for a subscription to a Dashboard
then I see “None” on the Home page Dashboard widget
in the Subscription column

See the attached screen capture,
the 2 middle dashboards have Monday-Friday subscription

The following patch seems to correct the issue

— share/html/Dashboards/Elements/ShowSubscription 2010-12-31
13:53:47.000000000 +0100
+++ local/html/Dashboards/Elements/ShowSubscription 2011-02-08
18:25:40.000000000 +0100
@@ -71,5 +71,8 @@
elsif ($freq eq ‘daily’) {
$frequency = loc(“daily at [_1]”, $hour);
}

  • elsif ($freq eq ‘m-f’) {
  •    $frequency = loc("Mon-Fri at [_1]", $hour);
    
  • }
    }
    </%INIT>

Regards
Gerard

(11/02/08 12:38), Gerard FENELON wrote:

Hi

it is possible someone has already reported this
but I did not find by a quick check on issues@bestpractical.com.

when I select “Frequency” = “Monday through Friday”
for a subscription to a Dashboard
then I see “None” on the Home page Dashboard widget
in the Subscription column

See the attached screen capture,
the 2 middle dashboards have Monday-Friday subscription

The following patch seems to correct the issue

— share/html/Dashboards/Elements/ShowSubscription 2010-12-31
13:53:47.000000000 +0100
+++ local/html/Dashboards/Elements/ShowSubscription 2011-02-08
18:25:40.000000000 +0100
@@ -71,5 +71,8 @@
elsif ($freq eq ‘daily’) {
$frequency = loc(“daily at [_1]”, $hour);
}

  • elsif ($freq eq ‘m-f’) {
  • $frequency = loc(“Mon-Fri at [_1]”, $hour);
  • }
    }
    </%INIT>

Regards
Gerard

Gerard,

Thanks for your bug report and patch. I’ve applied the fix to master.

Shawn