Skip to content

Commit 6d05da2

Browse files
committed
Apply $DefaultQueue's display/value callbacks to $RTIR_DefaultQueue
With the callbacks, RTIR_DefaultQueue now shows queue name on system configuration page and the default value works on config edit page too.
1 parent 3129b55 commit 6d05da2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/RT/IR/Config.pm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@ sub Init {
161161
}
162162
return $ret;
163163
},
164-
}
164+
ValueCallback => RT->Config->Meta('DefaultQueue')->{WidgetArguments}{ValueCallback},
165+
},
166+
DisplayCallback => RT->Config->Meta('DefaultQueue')->{DisplayCallback},
165167
},
166168
RTIR_StrictConstituencyLinking => {
167169
Type => 'SCALAR',

0 commit comments

Comments
 (0)