Mercurial > libervia-web
comparison src/server/blog.py @ 825:a3e888ac4964
server (blog): removed another max_items
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 08 Jan 2016 19:48:29 +0100 |
parents | d990ae5612df |
children | 70939916dc80 |
comparison
equal
deleted
inserted
replaced
824:d990ae5612df | 825:a3e888ac4964 |
---|---|
156 request.extra_dict = {} # will be used for RSM and MAM | 156 request.extra_dict = {} # will be used for RSM and MAM |
157 self.parseURLParams(request) | 157 self.parseURLParams(request) |
158 if request.item_id: | 158 if request.item_id: |
159 # we want a specific item | 159 # we want a specific item |
160 item_ids = [request.item_id] | 160 item_ids = [request.item_id] |
161 max_items = 1 | 161 # max_items = 1 |
162 max_items = 0 # FIXME | |
162 else: | 163 else: |
163 item_ids = [] | 164 item_ids = [] |
164 # max_items = int(request.extra_dict['rsm_max']) # FIXME | 165 # max_items = int(request.extra_dict['rsm_max']) # FIXME |
165 max_items = 0 | 166 max_items = 0 |
166 # TODO: use max_items only when RSM is not available | 167 # TODO: use max_items only when RSM is not available |