Commit cdcbdd466712c1ed83f99eac7e2145664145897b
1 parent
0e94e96a
add sorting in aod list
Showing
2 changed files
with
44 additions
and
44 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/AODController.js
@@ -227,7 +227,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout | @@ -227,7 +227,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout | ||
227 | 227 | ||
228 | var AODAnimationData = new jinqJs() | 228 | var AODAnimationData = new jinqJs() |
229 | .from(result.root.AODData) | 229 | .from(result.root.AODData) |
230 | - .orderBy([{ field: '_ImageId', sort: 'asc' }]) | 230 | + .orderBy([{ field: '_BodySystem', sort: 'asc' }]) |
231 | .select(); | 231 | .select(); |
232 | 232 | ||
233 | $scope.SetAODwindowStoreData(windowviewid, 'AODAnimationData', AODAnimationData); | 233 | $scope.SetAODwindowStoreData(windowviewid, 'AODAnimationData', AODAnimationData); |
400-SOURCECODE/AIAHTML5.Web/content/data/json/aod/aod_courselist.json
@@ -2,179 +2,179 @@ | @@ -2,179 +2,179 @@ | ||
2 | "root":{ | 2 | "root":{ |
3 | "AODData":[ | 3 | "AODData":[ |
4 | { | 4 | { |
5 | - "_id":"1", | ||
6 | "_ImageId":"11014009", | 5 | "_ImageId":"11014009", |
7 | "_Title":"Anatomy and Physiology of the Breast", | 6 | "_Title":"Anatomy and Physiology of the Breast", |
7 | + "_BodySystem":"Breast", | ||
8 | "_Video":"11014009.mp4", | 8 | "_Video":"11014009.mp4", |
9 | "_ThumbnailImage":"11014009.jpg" | 9 | "_ThumbnailImage":"11014009.jpg" |
10 | }, | 10 | }, |
11 | { | 11 | { |
12 | - "_id":"2", | ||
13 | "_ImageId":"02011209", | 12 | "_ImageId":"02011209", |
14 | "_Title":"Understanding the Physiology of the Skin", | 13 | "_Title":"Understanding the Physiology of the Skin", |
14 | + "_BodySystem":"Skin", | ||
15 | "_Video":"02011209.mp4", | 15 | "_Video":"02011209.mp4", |
16 | "_ThumbnailImage":"02011209.jpg" | 16 | "_ThumbnailImage":"02011209.jpg" |
17 | }, | 17 | }, |
18 | { | 18 | { |
19 | - "_id":"3", | ||
20 | "_ImageId":"14011109", | 19 | "_ImageId":"14011109", |
21 | "_Title":"Understanding the Anatomy of the Urinary System", | 20 | "_Title":"Understanding the Anatomy of the Urinary System", |
21 | + "_BodySystem":"Urinary System", | ||
22 | "_Video":"14011109.mp4", | 22 | "_Video":"14011109.mp4", |
23 | "_ThumbnailImage":"14011109.jpg" | 23 | "_ThumbnailImage":"14011109.jpg" |
24 | }, | 24 | }, |
25 | { | 25 | { |
26 | - "_id":"4", | ||
27 | "_ImageId":"06011109", | 26 | "_ImageId":"06011109", |
28 | "_Title":"Understanding the Anatomy of the Immune System", | 27 | "_Title":"Understanding the Anatomy of the Immune System", |
28 | + "_BodySystem":"Immune System", | ||
29 | "_Video":"06011109.mp4", | 29 | "_Video":"06011109.mp4", |
30 | "_ThumbnailImage":"06011109.jpg" | 30 | "_ThumbnailImage":"06011109.jpg" |
31 | }, | 31 | }, |
32 | { | 32 | { |
33 | - "_id":"5", | ||
34 | "_ImageId":"09011209", | 33 | "_ImageId":"09011209", |
35 | "_Title":"Understanding the Physiology of the Visual System", | 34 | "_Title":"Understanding the Physiology of the Visual System", |
35 | + "_BodySystem":"Visual System", | ||
36 | "_Video":"09011209.mp4", | 36 | "_Video":"09011209.mp4", |
37 | "_ThumbnailImage":"09011209.jpg" | 37 | "_ThumbnailImage":"09011209.jpg" |
38 | }, | 38 | }, |
39 | { | 39 | { |
40 | - "_id":"6", | ||
41 | "_ImageId":"02011109", | 40 | "_ImageId":"02011109", |
42 | "_Title":"Understanding the Anatomy of the Skin", | 41 | "_Title":"Understanding the Anatomy of the Skin", |
42 | + "_BodySystem":"Skin", | ||
43 | "_Video":"02011109.mp4", | 43 | "_Video":"02011109.mp4", |
44 | "_ThumbnailImage":"02011109.jpg" | 44 | "_ThumbnailImage":"02011109.jpg" |
45 | }, | 45 | }, |
46 | { | 46 | { |
47 | - "_id":"7", | ||
48 | - "_ImageId":"00016009", | ||
49 | - "_Title":"Understanding Cell Biology", | ||
50 | - "_Video":"00016009.mp4", | ||
51 | - "_ThumbnailImage":"00016009.jpg" | ||
52 | - }, | ||
53 | - { | ||
54 | - "_id":"8", | ||
55 | - "_ImageId":"05011009", | ||
56 | - "_Title":"Blood Anatomy and Physiology", | ||
57 | - "_Video":"05011009.mp4", | ||
58 | - "_ThumbnailImage":"05011009.jpg" | ||
59 | - }, | ||
60 | - { | ||
61 | - "_id":"9", | ||
62 | "_ImageId":"09011109", | 47 | "_ImageId":"09011109", |
63 | "_Title":"Understanding the Anatomy of the Visual System", | 48 | "_Title":"Understanding the Anatomy of the Visual System", |
49 | + "_BodySystem":"Visual System", | ||
64 | "_Video":"09011109.mp4", | 50 | "_Video":"09011109.mp4", |
65 | "_ThumbnailImage":"09011109.jpg" | 51 | "_ThumbnailImage":"09011109.jpg" |
66 | }, | 52 | }, |
67 | { | 53 | { |
68 | - "_id":"10", | ||
69 | "_ImageId":"01011209", | 54 | "_ImageId":"01011209", |
70 | "_Title":"Understanding the Physiology of the Cardiovascular System", | 55 | "_Title":"Understanding the Physiology of the Cardiovascular System", |
56 | + "_BodySystem":"Cardiovascular System", | ||
71 | "_Video":"01011209.mp4", | 57 | "_Video":"01011209.mp4", |
72 | "_ThumbnailImage":"01011209.jpg" | 58 | "_ThumbnailImage":"01011209.jpg" |
73 | }, | 59 | }, |
74 | { | 60 | { |
75 | - "_id":"11", | ||
76 | "_ImageId":"13011209", | 61 | "_ImageId":"13011209", |
77 | "_Title":"Understanding the Physiology of the Musculoskeletal System", | 62 | "_Title":"Understanding the Physiology of the Musculoskeletal System", |
63 | + "_BodySystem":"Musculoskeletal System", | ||
78 | "_Video":"13011209.mp4", | 64 | "_Video":"13011209.mp4", |
79 | "_ThumbnailImage":"13011209.jpg" | 65 | "_ThumbnailImage":"13011209.jpg" |
80 | }, | 66 | }, |
81 | { | 67 | { |
82 | - "_id":"12", | ||
83 | "_ImageId":"04011209", | 68 | "_ImageId":"04011209", |
84 | "_Title":"Understanding the Physiology of the Digestive System", | 69 | "_Title":"Understanding the Physiology of the Digestive System", |
70 | + "_BodySystem":"Digestive System", | ||
85 | "_Video":"04011209.mp4", | 71 | "_Video":"04011209.mp4", |
86 | "_ThumbnailImage":"04011209.jpg" | 72 | "_ThumbnailImage":"04011209.jpg" |
87 | }, | 73 | }, |
88 | { | 74 | { |
89 | - "_id":"13", | ||
90 | - "_ImageId":"07029109", | ||
91 | - "_Title":"Understanding the Physiology of Pain", | ||
92 | - "_Video":"07029109.mp4", | ||
93 | - "_ThumbnailImage":"07029109.jpg" | ||
94 | - }, | ||
95 | - { | ||
96 | - "_id":"14", | ||
97 | "_ImageId":"01011109", | 75 | "_ImageId":"01011109", |
98 | "_Title":"Understanding the Anatomy of the Cardiovascular System", | 76 | "_Title":"Understanding the Anatomy of the Cardiovascular System", |
77 | + "_BodySystem":"Cardiovascular System", | ||
99 | "_Video":"01011109.mp4", | 78 | "_Video":"01011109.mp4", |
100 | "_ThumbnailImage":"01011109.jpg" | 79 | "_ThumbnailImage":"01011109.jpg" |
101 | }, | 80 | }, |
102 | { | 81 | { |
103 | - "_id":"15", | ||
104 | "_ImageId":"13011109", | 82 | "_ImageId":"13011109", |
105 | "_Title":"Understanding the Anatomy of the Musculoskeletal System", | 83 | "_Title":"Understanding the Anatomy of the Musculoskeletal System", |
84 | + "_BodySystem":"Musculoskeletal System", | ||
106 | "_Video":"13011109.mp4", | 85 | "_Video":"13011109.mp4", |
107 | "_ThumbnailImage":"13011109.jpg" | 86 | "_ThumbnailImage":"13011109.jpg" |
108 | }, | 87 | }, |
109 | { | 88 | { |
110 | - "_id":"16", | ||
111 | "_ImageId":"04011109", | 89 | "_ImageId":"04011109", |
112 | "_Title":"Understanding the Anatomy of the Digestive System", | 90 | "_Title":"Understanding the Anatomy of the Digestive System", |
91 | + "_BodySystem":"Digestive System", | ||
113 | "_Video":"04011109.mp4", | 92 | "_Video":"04011109.mp4", |
114 | "_ThumbnailImage":"04011109.jpg" | 93 | "_ThumbnailImage":"04011109.jpg" |
115 | }, | 94 | }, |
116 | { | 95 | { |
117 | - "_id":"17", | ||
118 | "_ImageId":"07011209", | 96 | "_ImageId":"07011209", |
119 | "_Title":"Understanding the Physiology of the Nervous System", | 97 | "_Title":"Understanding the Physiology of the Nervous System", |
98 | + "_BodySystem":"Nervous System", | ||
120 | "_Video":"07011209.mp4", | 99 | "_Video":"07011209.mp4", |
121 | "_ThumbnailImage":"07011209.jpg" | 100 | "_ThumbnailImage":"07011209.jpg" |
122 | }, | 101 | }, |
123 | { | 102 | { |
124 | - "_id":"18", | ||
125 | "_ImageId":"01011009", | 103 | "_ImageId":"01011009", |
126 | "_Title":"Introduction to the Cardiovascular System", | 104 | "_Title":"Introduction to the Cardiovascular System", |
105 | + "_BodySystem":"Cardiovascular System", | ||
127 | "_Video":"01011009.mp4", | 106 | "_Video":"01011009.mp4", |
128 | "_ThumbnailImage":"01011009.jpg" | 107 | "_ThumbnailImage":"01011009.jpg" |
129 | }, | 108 | }, |
130 | { | 109 | { |
131 | - "_id":"19", | ||
132 | "_ImageId":"12011209", | 110 | "_ImageId":"12011209", |
133 | "_Title":"Understanding the Physiology of the Respiratory System", | 111 | "_Title":"Understanding the Physiology of the Respiratory System", |
112 | + "_BodySystem":"Respiratory System", | ||
134 | "_Video":"12011209.mp4", | 113 | "_Video":"12011209.mp4", |
135 | "_ThumbnailImage":"12011209.jpg" | 114 | "_ThumbnailImage":"12011209.jpg" |
136 | }, | 115 | }, |
137 | { | 116 | { |
138 | - "_id":"20", | ||
139 | "_ImageId":"03011209", | 117 | "_ImageId":"03011209", |
140 | "_Title":"Understanding the Physiology of the Endocrine System", | 118 | "_Title":"Understanding the Physiology of the Endocrine System", |
119 | + "_BodySystem":"Endocrine System", | ||
141 | "_Video":"03011209.mp4", | 120 | "_Video":"03011209.mp4", |
142 | "_ThumbnailImage":"03011209.jpg" | 121 | "_ThumbnailImage":"03011209.jpg" |
143 | }, | 122 | }, |
144 | { | 123 | { |
145 | - "_id":"21", | ||
146 | "_ImageId":"07011109", | 124 | "_ImageId":"07011109", |
147 | "_Title":"Understanding the Anatomy of the Nervous System", | 125 | "_Title":"Understanding the Anatomy of the Nervous System", |
126 | + "_BodySystem":"Nervous System", | ||
148 | "_Video":"07011109.mp4", | 127 | "_Video":"07011109.mp4", |
149 | "_ThumbnailImage":"07011109.jpg" | 128 | "_ThumbnailImage":"07011109.jpg" |
150 | }, | 129 | }, |
151 | { | 130 | { |
152 | - "_id":"22", | ||
153 | "_ImageId":"12011109", | 131 | "_ImageId":"12011109", |
154 | "_Title":"Understanding the Anatomy of the Respiratory System", | 132 | "_Title":"Understanding the Anatomy of the Respiratory System", |
133 | + "_BodySystem":"Respiratory System", | ||
155 | "_Video":"12011109.mp4", | 134 | "_Video":"12011109.mp4", |
156 | "_ThumbnailImage":"12011109.jpg" | 135 | "_ThumbnailImage":"12011109.jpg" |
157 | }, | 136 | }, |
158 | { | 137 | { |
159 | - "_id":"23", | ||
160 | "_ImageId":"03011109", | 138 | "_ImageId":"03011109", |
161 | "_Title":"Understanding the Anatomy of the Endocrine System", | 139 | "_Title":"Understanding the Anatomy of the Endocrine System", |
140 | + "_BodySystem":"Endocrine System", | ||
162 | "_Video":"03011109.mp4", | 141 | "_Video":"03011109.mp4", |
163 | "_ThumbnailImage":"03011109.jpg" | 142 | "_ThumbnailImage":"03011109.jpg" |
164 | }, | 143 | }, |
165 | { | 144 | { |
166 | - "_id":"24", | ||
167 | "_ImageId":"14011209", | 145 | "_ImageId":"14011209", |
168 | "_Title":"Understanding the Physiology of the Urinary System", | 146 | "_Title":"Understanding the Physiology of the Urinary System", |
147 | + "_BodySystem":"Urinary System", | ||
169 | "_Video":"14011209.mp4", | 148 | "_Video":"14011209.mp4", |
170 | "_ThumbnailImage":"14011209.jpg" | 149 | "_ThumbnailImage":"14011209.jpg" |
171 | }, | 150 | }, |
172 | { | 151 | { |
173 | - "_id":"25", | ||
174 | "_ImageId":"06011209", | 152 | "_ImageId":"06011209", |
175 | "_Title":"Understanding the Physiology of the Immune System", | 153 | "_Title":"Understanding the Physiology of the Immune System", |
154 | + "_BodySystem":"Immune System", | ||
176 | "_Video":"06011209.mp4", | 155 | "_Video":"06011209.mp4", |
177 | "_ThumbnailImage":"06011209.jpg" | 156 | "_ThumbnailImage":"06011209.jpg" |
157 | + }, | ||
158 | + { | ||
159 | + "_ImageId":"00016009", | ||
160 | + "_Title":"Understanding Cell Biology", | ||
161 | + "_BodySystem":"1", | ||
162 | + "_Video":"00016009.mp4", | ||
163 | + "_ThumbnailImage":"00016009.jpg" | ||
164 | + }, | ||
165 | + { | ||
166 | + "_ImageId":"05011009", | ||
167 | + "_Title":"Blood Anatomy and Physiology", | ||
168 | + "_BodySystem":"2", | ||
169 | + "_Video":"05011009.mp4", | ||
170 | + "_ThumbnailImage":"05011009.jpg" | ||
171 | + }, | ||
172 | + { | ||
173 | + "_ImageId":"07029109", | ||
174 | + "_Title":"Understanding the Physiology of Pain", | ||
175 | + "_BodySystem":"3", | ||
176 | + "_Video":"07029109.mp4", | ||
177 | + "_ThumbnailImage":"07029109.jpg" | ||
178 | } | 178 | } |
179 | ] | 179 | ] |
180 | } | 180 | } |