comparison src/pages/tickets/new/page_meta.py @ 989:1d1a6c91961f

pages (tickets/new): renamed bridge method to follow backend change.
author Goffi <goffi@goffi.org>
date Thu, 30 Nov 2017 21:05:24 +0100
parents a78169c1bf77
children 296bda6b7ed0
comparison
equal deleted inserted replaced
988:d042f194624a 989:1d1a6c91961f
42 try: 42 try:
43 posted_data['labels'] = [l.strip() for l in posted_data['labels'][0].split(',')] 43 posted_data['labels'] = [l.strip() for l in posted_data['labels'][0].split(',')]
44 except (KeyError, IndexError): 44 except (KeyError, IndexError):
45 pass 45 pass
46 profile = self.getProfile(request) 46 profile = self.getProfile(request)
47 yield self.host.bridge.ticketsSet(service.full(), node, posted_data, u'', u'', {}, profile) 47 yield self.host.bridge.ticketSet(service.full(), node, posted_data, u'', u'', {}, profile)
48 # we don't want to redirect to creation page on success, but to tickets list 48 # we don't want to redirect to creation page on success, but to tickets list
49 data['post_redirect_page'] = (self.getPageByName(u'tickets_list'), 49 data['post_redirect_page'] = (self.getPageByName(u'tickets_list'),
50 service.full(), 50 service.full(),
51 node or u'@') 51 node or u'@')