Mercurial > libervia-web
comparison libervia/pages/tickets/page_meta.py @ 1137:dfd6545a205a
pages (blog/view, tickets): use of new "order_by" feature.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 06 Jan 2019 17:45:44 +0100 |
parents | 28e3eb3bb217 |
children | 003597f895a0 |
comparison
equal
deleted
inserted
replaced
1136:ab78374e1117 | 1137:dfd6545a205a |
---|---|
42 service.full() if service else u"", | 42 service.full() if service else u"", |
43 node, | 43 node, |
44 C.NO_LIMIT, | 44 C.NO_LIMIT, |
45 [], | 45 [], |
46 "", | 46 "", |
47 {"labels_as_list": C.BOOL_TRUE}, | 47 { |
48 "labels_as_list": C.BOOL_TRUE, | |
49 C.KEY_ORDER_BY: C.ORDER_BY_CREATION, | |
50 }, | |
48 profile, | 51 profile, |
49 ) | 52 ) |
50 template_data[u"tickets"] = [template_xmlui.create(self.host, x) for x in tickets[0]] | 53 template_data[u"tickets"] = [template_xmlui.create(self.host, x) for x in tickets[0]] |
51 template_data[u"on_ticket_click"] = data_objects.OnClick( | 54 template_data[u"on_ticket_click"] = data_objects.OnClick( |
52 url=self.getSubPageURL(request, u"tickets_view") + u"/{item.id}" | 55 url=self.getSubPageURL(request, u"tickets_view") + u"/{item.id}" |