|
|
@ -36,6 +36,12 @@ var Collection = PageableCollection.extend({
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
sortMappings : {
|
|
|
|
sortMappings : {
|
|
|
|
|
|
|
|
relativePath : {
|
|
|
|
|
|
|
|
sortValue : function(model, attr, order) {
|
|
|
|
|
|
|
|
return model.get(attr).toLowerCase();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
series : {
|
|
|
|
series : {
|
|
|
|
sortValue : function(model, attr, order) {
|
|
|
|
sortValue : function(model, attr, order) {
|
|
|
|
var series = model.get(attr);
|
|
|
|
var series = model.get(attr);
|
|
|
@ -71,4 +77,4 @@ var Collection = PageableCollection.extend({
|
|
|
|
|
|
|
|
|
|
|
|
Collection = AsSortedCollection.call(Collection);
|
|
|
|
Collection = AsSortedCollection.call(Collection);
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = Collection;
|
|
|
|
module.exports = Collection;
|
|
|
|