diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-11-22 11:00:02 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-11-26 08:51:34 +0000 |
| commit | c45c5bb41167b61c4788f3369d3688b8791effc0 (patch) | |
| tree | b6f574eda06f9d257e4a9ed564e42f77f443602a /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | c22539fd8c7a838eb9d5ed3c4c78eac3dee720da (diff) | |
[FIX] mail: messaging menu show undated DM previews last
This commit fixes two related issues:
1. Previews without any message should not be dated.
Before this commit, when a channel or dm preview had no date,
it was displaying the current date. This commit fixes the issue
by not showing the date for those previews.
2. Dates previews should appear before undated previews.
Before this commit, undated previews were considered similarly
as dated previews in the ordering of previews in the messaging
menu. Since DMs are shown before Channels, any pinned DM without
any message were displayed on top of messages with some message.
This commit fixes the issue by putting undated previews after
dated ones. This rule is applied before considering type of the
thread (i.e. DMs before channels).
Task-ID 1912001
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
