summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-11-22 11:00:02 +0000
committerAlexandre Kühn <aku@odoo.com>2018-11-26 08:51:34 +0000
commitc45c5bb41167b61c4788f3369d3688b8791effc0 (patch)
treeb6f574eda06f9d257e4a9ed564e42f77f443602a /addons/web/static/tests/fields/basic_fields_tests.js
parentc22539fd8c7a838eb9d5ed3c4c78eac3dee720da (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