def hr_search():

    # Filter to just Volunteers
    s3.filter = FS("human_resource.type") == 2

    # Only allow use in the search_ac method
    s3.prep = lambda r: r.method == "search_ac"

    return s3_rest_controller("hrm", "human_resource")

# -----------------------------------------------------------------------------
Return the resource corresponding to all liked media for the user.
dataset/ETHPy150Open sahana/eden/controllers/vol.py/hr_search--crossover with--dataset/ETHPy150Open ducksboard/libsaas/libsaas/services/instagram/users.py/AuthenticatedUser.liked_media