Project

General

Profile

« Previous | Next » 

Revision 3fcc773e

Added by Marc Dequènes over 13 years ago

  • ID 3fcc773eb65ee5c4e630858eb62d1a8b423580b3

[fix] correct display attributes sorting

View differences:

lib/ldap_shadows/display_helper.rb
module Display
def self.display_fields(shadow, attr_data, options = {})
str_lines = []
attr_data.each_pair do |key, val|
next if val[:expert] and not options[:expert]
next if val[:admin] and not options[:admin]
......
LdapShadows::Manipulation.interpret_field_value(shadow, val[:syntax], val[:value]).to_s)
end
puts str
str_lines << str
end
puts str_lines.sort.join("\n")
end
def self.display_item(item, options = {})

Also available in: Unified diff