def list_interns(uid, page): list_page = get_show_jobs(page, fid=_INTERN) return __job_to_dict(list_page)
def list_jobs(uid, page, name=''): f = get_feed_by_name(name) fid = f and f.id or None list_page = get_show_jobs(page, fid=fid) return __job_to_dict(list_page)