From ab38ca2ad40a0210ee30aee527d4223a832f43e7 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Sun, 28 Mar 2010 03:41:15 +0100 Subject: [PATCH] fix the order of the data directory and add peer record ip address sorting again --- deluge/ui/web/js/deluge-all/data/.order | 1 + deluge/ui/web/js/deluge-all/data/PeerRecord.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 deluge/ui/web/js/deluge-all/data/.order diff --git a/deluge/ui/web/js/deluge-all/data/.order b/deluge/ui/web/js/deluge-all/data/.order new file mode 100644 index 000000000..f9befc408 --- /dev/null +++ b/deluge/ui/web/js/deluge-all/data/.order @@ -0,0 +1 @@ ++ SortTypes.js diff --git a/deluge/ui/web/js/deluge-all/data/PeerRecord.js b/deluge/ui/web/js/deluge-all/data/PeerRecord.js index e9132403c..528b8c7bb 100644 --- a/deluge/ui/web/js/deluge-all/data/PeerRecord.js +++ b/deluge/ui/web/js/deluge-all/data/PeerRecord.js @@ -50,7 +50,8 @@ Deluge.data.Peer = Ext.data.Record.create([ type: 'string' }, { name: 'ip', - type: 'string' + type: 'string', + sortType: Deluge.data.SortTypes.asIPAddress }, { name: 'client', type: 'string'