diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in index 31e31631686..767e74edc0c 100644 --- a/etc/RT_Config.pm.in +++ b/etc/RT_Config.pm.in @@ -971,6 +971,16 @@ With this enabled, some parts of the email won't look exactly like RT. Set($EmailDashboardInlineCSS, 0); +=item C<@DashboardSubscriptionRows> + +Define the options available in the Rows dropdown on the dashboard +subscription page. Add "0" to the list to allow users to select +"Unlimited" rows. + +=cut + +Set(@DashboardSubscriptionRows, (1, 2, 5, 10, 15, 20, 25, 50, 75, 100, 0)); + =back diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm index 04fbe3dcd5c..04e8ba061ba 100644 --- a/lib/RT/Config.pm +++ b/lib/RT/Config.pm @@ -1994,6 +1994,9 @@ our %META; EmailDashboardInlineCSS => { Widget => '/Widgets/Form/Boolean', }, + DashboardSubscriptionRows => { + Type => 'ARRAY', + }, DefaultErrorMailPrecedence => { Widget => '/Widgets/Form/String', }, diff --git a/share/html/Dashboards/Subscription.html b/share/html/Dashboards/Subscription.html index c1db86230bf..6064b4b6259 100644 --- a/share/html/Dashboards/Subscription.html +++ b/share/html/Dashboards/Subscription.html @@ -198,7 +198,7 @@