[FIX] website_event: fix dynamic event snippet sorting
Before this commit the dynamic event snippet sorts the events from further in the future to current, making it so that events in the near future are not in the spotlight. After this commit the events are sorted as expected, with the earliest events first. Task-3105126 closes odoo/odoo#110791 X-original-commit: de1dc9e888f3ffc59589f1fdd4e518638c35bca6 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
committed by
Thibault Delavallée
parent
a35dd0d43f
commit
d395d1f4de
@@ -6,7 +6,7 @@
|
||||
<field name="model_id">event.event</field>
|
||||
<field name="user_id" eval="False" />
|
||||
<field name="domain">[('date_begin', '>=', context_today())]</field>
|
||||
<field name="sort">['date_begin desc']</field>
|
||||
<field name="sort">['date_begin asc']</field>
|
||||
</record>
|
||||
|
||||
<record id="website_snippet_filter_event_list" model="website.snippet.filter">
|
||||
|
||||
Reference in New Issue
Block a user