Feature request: search filter to see messages/topics with timer reminders set

Give this a try:

SELECT execute_at,
CASE status_type
   WHEN 1 THEN 'Close'
   WHEN 2 THEN 'Open'
   WHEN 3 THEN 'Publish to category'
   WHEN 4 THEN 'Delete'
   WHEN 5 THEN 'Reminder'
   ELSE 'Unknown'
END as type,
category_id, user_id, topic_id, based_on_last_post 
FROM topic_timers 
WHERE deleted_at IS NULL
ORDER BY execute_at ASC

Remove WHERE deleted_at IS NULL if you want to see timers that have already been executed

9 إعجابات