diaspora/app/assets/javascripts/app/collections/pods.js
Florian Staudacher 738413c65f fix some issues with pod-checking
add tooltips in the frontend
fix a JS problem with empty hostname
use `find_in_batches` correctly
add a migration to clean up the pods table + unique index on hostname
2015-08-30 18:50:34 +02:00

10 lines
311 B
JavaScript

// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
app.collections.Pods = Backbone.Collection.extend({
model: app.models.Pod,
comparator: function(model) {
var host = model.get("host") || "";
return host.toLowerCase();
}
});
// @license-end