comparison src/pages/common/blog/page_meta.py @ 1026:38cfee0eed48

pages (common/blog): fixed bad variable name
author Goffi <goffi@goffi.org>
date Sun, 21 Jan 2018 21:08:38 +0100
parents 36e5945d064c
children 78b7b5ec7ca1
comparison
equal deleted inserted replaced
1025:36e5945d064c 1026:38cfee0eed48
177 177
178 blog_view = self.getPageByName(u'blog_view') 178 blog_view = self.getPageByName(u'blog_view')
179 template_data[u'items'] = data[u'items'] = items 179 template_data[u'items'] = data[u'items'] = items
180 if request.args.get('reverse') == ['1']: 180 if request.args.get('reverse') == ['1']:
181 template_data[u'items'].items.reverse() 181 template_data[u'items'].items.reverse()
182 template_data[u'item_http_uri'] = items_http_uri = {} 182 template_data[u'items_http_uri'] = items_http_uri = {}
183 template_data[u'tags_http_uri'] = tags_http_uri = {} 183 template_data[u'tags_http_uri'] = tags_http_uri = {}
184 for item in items: 184 for item in items:
185 service_s = service.full() 185 service_s = service.full()
186 items_http_uri[item.id] = self.host.getExtBaseURL(request, blog_view.getURL(service_s, node or '@', u'id', item.id)) 186 items_http_uri[item.id] = self.host.getExtBaseURL(request, blog_view.getURL(service_s, node or '@', u'id', item.id))
187 for tag in item.tags: 187 for tag in item.tags: