Skip to content
  • Alexandru Elisei's avatar
    MDL-52574 accesslib: Prevent get_role_users() fail in certain cases · b6d12864
    Alexandru Elisei authored
    The function get_role_users() requires the caller to include the $sort fields in
    the $fields argument. On PostgreSQL this will cause the function to fail when
    the default $sort fields aren't part of the requested fields. The behavior of
    the function is augmented to add the $sort fields to $fields if they are not
    already present.
    b6d12864