Commit 6e99bafb authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

ui: Fix image ordering in create view

avoid parsing image id as int
parent 691862c0
......@@ -1859,7 +1859,7 @@
},
comparator: function(img) {
return -img.get_sort_order("sortorder") || 1000 * img.id;
return -img.get_sort_order("sortorder") || 0;
},
parse_meta: function(img) {
......
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