liquid_feedback_frontend

diff model/scheduled_notification_to_send.lua @ 1252:659e3eda2fad

Minor fixes to new notification system
author bsw
date Sun Apr 17 16:02:26 2016 +0200 (2016-04-17)
parents c0fd12b97d65
children
line diff
     1.1 --- a/model/scheduled_notification_to_send.lua	Sun Apr 17 15:04:07 2016 +0200
     1.2 +++ b/model/scheduled_notification_to_send.lua	Sun Apr 17 16:02:26 2016 +0200
     1.3 @@ -4,6 +4,7 @@
     1.4  function ScheduledNotificationToSend:get_next()
     1.5    return self:new_selector()
     1.6      :add_order_by("pending DESC")
     1.7 +    :add_order_by("random()")
     1.8      :limit(1)
     1.9      :optional_object_mode()
    1.10      :exec()

Impressum / About Us