changeset 1805:4d129dd1752e

fix /effects sorting (by uri, not label, still) Ignore-this: da79ba2253cf5b1f965722c75a48c6fd
author Drew Perttula <drewp@bigasterisk.com>
date Fri, 08 Jun 2018 09:12:07 +0000
parents fb8ca0f886fc
children 5668ad92a98e
files light9/web/effects/effects.coffee
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/light9/web/effects/effects.coffee	Fri Jun 08 09:09:19 2018 +0000
+++ b/light9/web/effects/effects.coffee	Fri Jun 08 09:12:07 2018 +0000
@@ -8,7 +8,7 @@
 
   getClasses: ->
     U = (x) => @graph.Uri(x)
-    @effectClasses = _.sortBy(@graph.subjects(U('rdf:type'), U(':Effect')))
+    @effectClasses = @graph.sortedUris(@graph.subjects(U('rdf:type'), U(':Effect')))
 
 Polymer
   is: "light9-effect-class"