aastra_xml_api 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae7d75972cae9301fdd8ba979b36a23041b5f7dc
|
4
|
+
data.tar.gz: 3e4c6fb5e549621f79a31ded05f23f1ae7fc1256
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb6460af4ae0b89bf219f4ef889de472d226eb045672a4a819ce45c991973cd487fedee7e04e739d1e253cdbf342834a5c5da8f0374fa628cc11df1b500f30ac
|
7
|
+
data.tar.gz: 740cfca771dce061aa637436fcb74ac990517e31405b715694c372f5533cf02a50c8044484ca48e180b7443becc760db248669deeb8ce104326f87e2a5d56e9c
|
@@ -67,12 +67,12 @@ module AastraXmlApi
|
|
67
67
|
# before Bob10.
|
68
68
|
def natsortByName
|
69
69
|
tmparray = []
|
70
|
-
tmparray.extend(ArrayExtension)
|
71
70
|
linklist = {}
|
72
71
|
for i in 0..@entries.size-1
|
73
72
|
tmparray += [@entries[i].getName]
|
74
73
|
linklist[@entries[i].getName] = i
|
75
74
|
end
|
75
|
+
tmparray.extend(ArrayExtension)
|
76
76
|
tmparray.natsort!
|
77
77
|
newentries = []
|
78
78
|
tmparray.each do |name|
|
@@ -93,12 +93,12 @@ module AastraXmlApi
|
|
93
93
|
# Use natural order sorting to sort the menu by name.
|
94
94
|
def natsortByName
|
95
95
|
tmparray = []
|
96
|
-
tmparray.extend(ArrayExtension)
|
97
96
|
linklist = {}
|
98
97
|
for i in 0..@entries.size-1
|
99
98
|
tmparray += [@entries[i].getName]
|
100
99
|
linklist[@entries[i].getName] = i
|
101
100
|
end
|
101
|
+
tmparray.extend(ArrayExtension)
|
102
102
|
tmparray.natsort!
|
103
103
|
newentries = []
|
104
104
|
tmparray.each do |name|
|