示例#1
0
文件: folder.py 项目: eugeneai/recms
 def get_viewable_children(self, spec=None, sort=None, skip=0, limit=0):
     spec = self._add_view_to_spec(spec)
     return Collection.get_children(self, spec=spec, sort=sort, skip=skip, limit=limit)
示例#2
0
文件: folder.py 项目: eugeneai/recms
 def get_sorted_children(self, spec=None, skip=0, limit=0):
     return Collection.get_children(self, spec=spec, sort=self.get_default_sort(), skip=skip, limit=limit)