ntu_dropdown_fix
This commit is contained in:
1 parent
287e77836d
commit
b8da40b4ae
2 files changed
+4
-4
No files matched your search
@@ -181,7 +181,7 @@ class User
|
||||
def self.get_member_list_attribute_value(user_id,role_type,field_key)
|
||||
@attribute = ::Attribute.where(:key => role_type).first
|
||||
@AttributeField = ::AttributeField.where(:key => field_key, :attribute_id => @attribute.id).first
|
||||
return ::AttributeValue.where(attribute_field_id: @AttributeField.id, :user_id => user_id).first[I18n.locale.to_s]
|
||||
return ::AttributeValue.where(attribute_field_id: @AttributeField.id, :user_id => user_id).first
|
||||
end
|
||||
|
||||
def create_dept_cache
|
||||
|
||||
Reference in new issue
Block a user