Commit c439a57b authored by Lucas Nussbaum's avatar Lucas Nussbaum

[dev/wiki] Sort properties

parent 43585c0b
......@@ -195,8 +195,8 @@ class OarPropertiesGenerator < WikiGenerator
}
}
}
oar_properties.sort.to_h.each { |prop, prop_hash|
prop_hash["values"].sort!
if (prop_hash["values"].length > 20)
#Limit possible values to 20 elements and mark the list as truncated
prop_hash["values"].slice!(0...-20)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment