[Rt-commit] rt branch, 4.6/priority-as-string, repushed
Craig Kaiser
craig at bestpractical.com
Mon Dec 17 09:01:12 EST 2018
The branch 4.6/priority-as-string was deleted and repushed:
was 5742745e8f9d0d30e0847c8540cf1e09b36273ff
now b67e13bd04811ad5467a199bf04ddb0629dadb7d
1: 5742745e8f ! 1: b67e13bd04 Core RT::Extension::PriorityAsString
@@ -148,7 +148,7 @@
+ # greater than or equal to.
+ foreach my $label ( sort { $map{$b} <=> $map{$a} } keys %map ) {
+ return $label if $priority >= $map{ $label };
-+ }
++ };
+ return "unknown";
+}
+
@@ -185,7 +185,7 @@
+
+ my $method = $field .'AsString';
+
-+ my %queues = RT->Config->Get('PriorityAsStringQueues');
++ my %queues = RT->Config->Get('PriorityAsStringQueues') || ();
+ if (not keys %queues) {
+ $COLUMN_MAP->{ $field }{'value'} = sub {
+ return $printer->( $class, $_[0]->$method() );
More information about the rt-commit
mailing list