Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-09-29 01:49:55 +0400
committerRobin Appelman <icewind1991@gmail.com>2011-09-29 01:50:28 +0400
commit8d3c3785bc56794b9d89cf74ee027a8ba9c2f9ed (patch)
tree9dd6d9943a510db7de2cf9244c0a09497ce20208 /apps
parentf29f601ec4d0a569baa8fcc8c5e946c50a9703d6 (diff)
sort music collection
Diffstat (limited to 'apps')
-rw-r--r--apps/media/js/collection.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/media/js/collection.js b/apps/media/js/collection.js
index 7eb027348ce..96a5b79f81b 100644
--- a/apps/media/js/collection.js
+++ b/apps/media/js/collection.js
@@ -50,6 +50,10 @@ Collection={
}
}
+ Collection.artists.sort(function(a,b){
+ return a.name.localeCompare(b.name);
+ });
+
Collection.loaded=true;
Collection.loading=false;
for(var i=0;i<Collection.loadedListeners.length;i++){