Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c439a57b authored by Lucas Nussbaum's avatar Lucas Nussbaum
Browse files

[dev/wiki] Sort properties

parent 43585c0b
Branches
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment