[freeside-commits] branch master updated. 1b6859e5900403b984f75050d2939382b32d14d2

Ivan ivan at 420.am
Tue Sep 12 22:13:09 PDT 2017


The branch, master has been updated
       via  1b6859e5900403b984f75050d2939382b32d14d2 (commit)
      from  8ba643ad59f87ca7acb4d0e9770288e02bcbaf8a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1b6859e5900403b984f75050d2939382b32d14d2
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Sep 12 22:13:08 2017 -0700

    spacing

diff --git a/FS/FS/part_event.pm b/FS/FS/part_event.pm
index 1c23899..ded5715 100644
--- a/FS/FS/part_event.pm
+++ b/FS/FS/part_event.pm
@@ -582,9 +582,11 @@ sub 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 )
   );
 
 }

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

Summary of changes:
 FS/FS/part_event.pm |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list