diff --git a/app/models/broadcast_message.py b/app/models/broadcast_message.py index 769e36ebb..88eba53b0 100644 --- a/app/models/broadcast_message.py +++ b/app/models/broadcast_message.py @@ -41,9 +41,9 @@ class BroadcastMessage(JSONModel): def __lt__(self, other): return ( - self.cancelled_at or self.finishes_at + self.cancelled_at or self.finishes_at or self.created_at ) < ( - other.cancelled_at or other.finishes_at + other.cancelled_at or other.finishes_at or self.created_at ) @classmethod diff --git a/app/templates/views/broadcast/view-message.html b/app/templates/views/broadcast/view-message.html index d07ce3052..12a89141a 100644 --- a/app/templates/views/broadcast/view-message.html +++ b/app/templates/views/broadcast/view-message.html @@ -21,9 +21,6 @@ {% if broadcast_message.created_by == current_user and current_user.has_permissions('send_messages') %}