diff options
| author | Pedro M. Baeza <pedro.baeza@gmail.com> | 2018-06-07 00:29:28 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-06-11 12:03:38 +0200 |
| commit | 1bf483b0472c53fc44df082a1d0889be08322c8a (patch) | |
| tree | cc4b2997d1863ee73a91e618f8fcb8b1f1eff00b /doc/reference/javascript_reference.rst | |
| parent | e2ea066360c0e027d85c2d939e429081604bece6 (diff) | |
[FIX] website_event_track: Properly sort tracks on website with P3
On Python 3, dict.keys() doesn't return a list, so we can't sort it, but
converting to a list on the fly before calling to sort() is not going to
change the original dict_keys object. Storing directly the list in the
variable, we get the expected result.
Side note: the daylist2 variable is there just for the t-set and was
already present in the code. Renaming it to dummy would be clearer
but that should not be done in stable.
Closes #25113.
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
