Skip to content
Snippets Groups Projects
Commit 55408fd0 authored by Julien Mougenot's avatar Julien Mougenot
Browse files

[FIX] web: Properly handle default favorite filters


Before this commit, the default active favorite filter was determined by
its ID given by the control panel. These IDs start at index 0, meaning
that if a condition checks for the value of such an ID, it could be
false even though the ID and its filter exists.

Now the indexation starts at 1 to avoid such problems.

closes odoo/odoo#54435

X-original-commit: cfb7bbea1b428a062ee08ca045509d189b1fd1d4
Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
parent c547f12e
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment