Commit cdcbdd466712c1ed83f99eac7e2145664145897b

Authored by Birendra
1 parent 0e94e96a

add sorting in aod list

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