app/soc/views/models/document.py
changeset 1262 e2e5b7798746
parent 1241 5e25cd6abe09
child 1265 cecb2b35f805
equal deleted inserted replaced
1261:95b858816568 1262:e2e5b7798746
   144       entity: the entity for which the entry should be constructed
   144       entity: the entity for which the entry should be constructed
   145       params: a dict with params for this View.
   145       params: a dict with params for this View.
   146     """
   146     """
   147 
   147 
   148     filter = {
   148     filter = {
       
   149         'prefix' : params['url_name'],
   149         'scope_path': entity.key().name(),
   150         'scope_path': entity.key().name(),
   150         'is_featured': True,
   151         'is_featured': True,
   151         }
   152         }
   152 
   153 
   153     entities = self._logic.getForFields(filter)
   154     entities = self._logic.getForFields(filter)