discourse/app/mailers
Alan Guo Xiang Tan 9c9058d0c3
FIX: Order tags shown in email subject by topics count and name (#22586)
Why this change?

Prior to this change, the ordering of the tags shown in the email subject
was non-deterministic as there was no specific order specified. This
problem was exposed by a flaky test which we had.

What is the fix?

This commit orders the tags used in the email subject first by the
`Tag#public_topic_count` column in descending order and then the `Tag#name`
column in ascending order.
2023-07-13 15:39:58 +08:00
..
admin_confirmation_mailer.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
download_backup_mailer.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
group_smtp_mailer.rb FIX: don't add "Re:" prefix in email subject for first post of group PMs. (#22175) 2023-06-19 18:52:00 +05:30
invite_mailer.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
rejection_mailer.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
subscription_mailer.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
test_mailer.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
user_notifications.rb FIX: Order tags shown in email subject by topics count and name (#22586) 2023-07-13 15:39:58 +08:00
version_mailer.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00