[Rt-commit] rt branch, 5.0/self-service-homepage-dashboard, updated. rt-5.0.0-20-gad71c6dd44

Dianne Skoll dianne at bestpractical.com
Thu Sep 17 14:59:13 EDT 2020


The branch, 5.0/self-service-homepage-dashboard has been updated
       via  ad71c6dd44258f3c1f96201160545d4db5e67d95 (commit)
      from  f4857f25862250bca6c0966d74251616950ec23e (commit)

Summary of changes:
 lib/RT/Attribute.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit ad71c6dd44258f3c1f96201160545d4db5e67d95
Author: Dianne Skoll <dianne at bestpractical.com>
Date:   Thu Sep 17 14:58:51 2020 -0400

    Include SelfServiceDashboard in FindDependencies.

diff --git a/lib/RT/Attribute.pm b/lib/RT/Attribute.pm
index 7b609aa363..ac03f87b6b 100644
--- a/lib/RT/Attribute.pm
+++ b/lib/RT/Attribute.pm
@@ -672,7 +672,7 @@ sub FindDependencies {
         }
     }
     # dashboards have dependencies on all the searches and dashboards they use
-    elsif ($self->Name eq 'Dashboard') {
+    elsif ($self->Name eq 'Dashboard' || $self->Name eq 'SelfServiceDashboard') {
         my $content = $self->Content;
         for my $pane (values %{ $content->{Panes} || {} }) {
             for my $component (@$pane) {

-----------------------------------------------------------------------


More information about the rt-commit mailing list