projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8ba643a
)
spacing
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 13 Sep 2017 05:13:08 +0000
(22:13 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 13 Sep 2017 05:13:08 +0000
(22:13 -0700)
FS/FS/part_event.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_event.pm
b/FS/FS/part_event.pm
index
1c23899
..
ded5715
100644
(file)
--- a/
FS/FS/part_event.pm
+++ b/
FS/FS/part_event.pm
@@
-582,9
+582,11
@@
sub actions {
my( $class, $eventtable ) = @_;
(
map { $_ => $actions{$_} }
my( $class, $eventtable ) = @_;
(
map { $_ => $actions{$_} }
- sort { $actions{$a}->{'default_weight'}<=>$actions{$b}->{'default_weight'} }
- # || $actions{$a}->{'description'} cmp $actions{$b}->{'description'} }
- $class->all_actions( $eventtable )
+ sort {
+ $actions{$a}->{'default_weight'} <=> $actions{$b}->{'default_weight'}
+ || $actions{$a}->{'description'} cmp $actions{$b}->{'description'}
+ }
+ $class->all_actions( $eventtable )
);
}
);
}