Mercurial > libervia-web
comparison libervia/pages/lists/view_item/page_meta.py @ 1492:3a34d78f2717
pages (view_item): fix `extra` serialisation on `listGet`
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 26 Jan 2022 17:15:36 +0100 |
parents | 595e7fef41f3 |
children | ce879da7fcf7 |
comparison
equal
deleted
inserted
replaced
1491:3002ea1d6ae9 | 1492:3a34d78f2717 |
---|---|
61 service.full() if service else "", | 61 service.full() if service else "", |
62 node, | 62 node, |
63 C.NO_LIMIT, | 63 C.NO_LIMIT, |
64 [item_id], | 64 [item_id], |
65 "", | 65 "", |
66 {"labels_as_list": C.BOOL_TRUE}, | 66 data_format.serialise({"labels_as_list": C.BOOL_TRUE}), |
67 profile, | 67 profile, |
68 ) | 68 ) |
69 list_items, __ = data_format.deserialise(list_raw, type_check=list) | 69 list_items, __ = data_format.deserialise(list_raw, type_check=list) |
70 list_item = [template_xmlui.create(self.host, x) for x in list_items][0] | 70 list_item = [template_xmlui.create(self.host, x) for x in list_items][0] |
71 template_data["item"] = list_item | 71 template_data["item"] = list_item |