add boolean 'sort' property to itemKeys (before, columnWidth implied sort=true, which didn't accommodate sort by random)

This commit is contained in:
rolux 2012-03-08 12:33:20 +01:00
commit ca0f5c7e1e
3 changed files with 149 additions and 72 deletions

View file

@ -269,7 +269,7 @@ appPanel
]
},
sortKeys: Ox.map(pandora.site.itemKeys, function(key) {
return key.columnWidth ? Ox.extend(key, {
return key.sort ? Ox.extend(key, {
operator: pandora.getSortOperator(key.id)
}) : null;
})