equal
deleted
inserted
replaced
623 model: the model that is being queried |
623 model: the model that is being queried |
624 filter: the filters that apply |
624 filter: the filters that apply |
625 logic: the logic that will be used for the query |
625 logic: the logic that will be used for the query |
626 """ |
626 """ |
627 |
627 |
628 query = logic.getQueryForFields(filter=filter) |
628 entities = logic.getForFields(filter=filter, limit=1000) |
629 entities = logic.getAll(query) |
|
630 return entities |
629 return entities |
631 |
630 |
632 @decorators.merge_params |
631 @decorators.merge_params |
633 @decorators.check_access |
632 @decorators.check_access |
634 def pick(self, request, acces_type, page_name=None, params=None): |
633 def pick(self, request, acces_type, page_name=None, params=None): |