From cdcbdd466712c1ed83f99eac7e2145664145897b Mon Sep 17 00:00:00 2001 From: Birendra Date: Mon, 14 Dec 2020 16:22:30 +0530 Subject: [PATCH] add sorting in aod list --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/AODController.js | 2 +- 400-SOURCECODE/AIAHTML5.Web/content/data/json/aod/aod_courselist.json | 86 +++++++++++++++++++++++++++++++++++++++++++------------------------------------------- 2 files changed, 44 insertions(+), 44 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/AODController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/AODController.js index 65f4dc0..efe894f 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/AODController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/AODController.js @@ -227,7 +227,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout var AODAnimationData = new jinqJs() .from(result.root.AODData) - .orderBy([{ field: '_ImageId', sort: 'asc' }]) + .orderBy([{ field: '_BodySystem', sort: 'asc' }]) .select(); $scope.SetAODwindowStoreData(windowviewid, 'AODAnimationData', AODAnimationData); diff --git a/400-SOURCECODE/AIAHTML5.Web/content/data/json/aod/aod_courselist.json b/400-SOURCECODE/AIAHTML5.Web/content/data/json/aod/aod_courselist.json index 500cfd5..5df26a0 100644 --- a/400-SOURCECODE/AIAHTML5.Web/content/data/json/aod/aod_courselist.json +++ b/400-SOURCECODE/AIAHTML5.Web/content/data/json/aod/aod_courselist.json @@ -2,179 +2,179 @@ "root":{ "AODData":[ { - "_id":"1", "_ImageId":"11014009", "_Title":"Anatomy and Physiology of the Breast", + "_BodySystem":"Breast", "_Video":"11014009.mp4", "_ThumbnailImage":"11014009.jpg" }, { - "_id":"2", "_ImageId":"02011209", "_Title":"Understanding the Physiology of the Skin", + "_BodySystem":"Skin", "_Video":"02011209.mp4", "_ThumbnailImage":"02011209.jpg" }, { - "_id":"3", "_ImageId":"14011109", "_Title":"Understanding the Anatomy of the Urinary System", + "_BodySystem":"Urinary System", "_Video":"14011109.mp4", "_ThumbnailImage":"14011109.jpg" }, { - "_id":"4", "_ImageId":"06011109", "_Title":"Understanding the Anatomy of the Immune System", + "_BodySystem":"Immune System", "_Video":"06011109.mp4", "_ThumbnailImage":"06011109.jpg" }, { - "_id":"5", "_ImageId":"09011209", "_Title":"Understanding the Physiology of the Visual System", + "_BodySystem":"Visual System", "_Video":"09011209.mp4", "_ThumbnailImage":"09011209.jpg" }, { - "_id":"6", "_ImageId":"02011109", "_Title":"Understanding the Anatomy of the Skin", + "_BodySystem":"Skin", "_Video":"02011109.mp4", "_ThumbnailImage":"02011109.jpg" }, { - "_id":"7", - "_ImageId":"00016009", - "_Title":"Understanding Cell Biology", - "_Video":"00016009.mp4", - "_ThumbnailImage":"00016009.jpg" - }, - { - "_id":"8", - "_ImageId":"05011009", - "_Title":"Blood Anatomy and Physiology", - "_Video":"05011009.mp4", - "_ThumbnailImage":"05011009.jpg" - }, - { - "_id":"9", "_ImageId":"09011109", "_Title":"Understanding the Anatomy of the Visual System", + "_BodySystem":"Visual System", "_Video":"09011109.mp4", "_ThumbnailImage":"09011109.jpg" }, { - "_id":"10", "_ImageId":"01011209", "_Title":"Understanding the Physiology of the Cardiovascular System", + "_BodySystem":"Cardiovascular System", "_Video":"01011209.mp4", "_ThumbnailImage":"01011209.jpg" }, { - "_id":"11", "_ImageId":"13011209", "_Title":"Understanding the Physiology of the Musculoskeletal System", + "_BodySystem":"Musculoskeletal System", "_Video":"13011209.mp4", "_ThumbnailImage":"13011209.jpg" }, { - "_id":"12", "_ImageId":"04011209", "_Title":"Understanding the Physiology of the Digestive System", + "_BodySystem":"Digestive System", "_Video":"04011209.mp4", "_ThumbnailImage":"04011209.jpg" }, { - "_id":"13", - "_ImageId":"07029109", - "_Title":"Understanding the Physiology of Pain", - "_Video":"07029109.mp4", - "_ThumbnailImage":"07029109.jpg" - }, - { - "_id":"14", "_ImageId":"01011109", "_Title":"Understanding the Anatomy of the Cardiovascular System", + "_BodySystem":"Cardiovascular System", "_Video":"01011109.mp4", "_ThumbnailImage":"01011109.jpg" }, { - "_id":"15", "_ImageId":"13011109", "_Title":"Understanding the Anatomy of the Musculoskeletal System", + "_BodySystem":"Musculoskeletal System", "_Video":"13011109.mp4", "_ThumbnailImage":"13011109.jpg" }, { - "_id":"16", "_ImageId":"04011109", "_Title":"Understanding the Anatomy of the Digestive System", + "_BodySystem":"Digestive System", "_Video":"04011109.mp4", "_ThumbnailImage":"04011109.jpg" }, { - "_id":"17", "_ImageId":"07011209", "_Title":"Understanding the Physiology of the Nervous System", + "_BodySystem":"Nervous System", "_Video":"07011209.mp4", "_ThumbnailImage":"07011209.jpg" }, { - "_id":"18", "_ImageId":"01011009", "_Title":"Introduction to the Cardiovascular System", + "_BodySystem":"Cardiovascular System", "_Video":"01011009.mp4", "_ThumbnailImage":"01011009.jpg" }, { - "_id":"19", "_ImageId":"12011209", "_Title":"Understanding the Physiology of the Respiratory System", + "_BodySystem":"Respiratory System", "_Video":"12011209.mp4", "_ThumbnailImage":"12011209.jpg" }, { - "_id":"20", "_ImageId":"03011209", "_Title":"Understanding the Physiology of the Endocrine System", + "_BodySystem":"Endocrine System", "_Video":"03011209.mp4", "_ThumbnailImage":"03011209.jpg" }, { - "_id":"21", "_ImageId":"07011109", "_Title":"Understanding the Anatomy of the Nervous System", + "_BodySystem":"Nervous System", "_Video":"07011109.mp4", "_ThumbnailImage":"07011109.jpg" }, { - "_id":"22", "_ImageId":"12011109", "_Title":"Understanding the Anatomy of the Respiratory System", + "_BodySystem":"Respiratory System", "_Video":"12011109.mp4", "_ThumbnailImage":"12011109.jpg" }, { - "_id":"23", "_ImageId":"03011109", "_Title":"Understanding the Anatomy of the Endocrine System", + "_BodySystem":"Endocrine System", "_Video":"03011109.mp4", "_ThumbnailImage":"03011109.jpg" }, { - "_id":"24", "_ImageId":"14011209", "_Title":"Understanding the Physiology of the Urinary System", + "_BodySystem":"Urinary System", "_Video":"14011209.mp4", "_ThumbnailImage":"14011209.jpg" }, { - "_id":"25", "_ImageId":"06011209", "_Title":"Understanding the Physiology of the Immune System", + "_BodySystem":"Immune System", "_Video":"06011209.mp4", "_ThumbnailImage":"06011209.jpg" + }, + { + "_ImageId":"00016009", + "_Title":"Understanding Cell Biology", + "_BodySystem":"1", + "_Video":"00016009.mp4", + "_ThumbnailImage":"00016009.jpg" + }, + { + "_ImageId":"05011009", + "_Title":"Blood Anatomy and Physiology", + "_BodySystem":"2", + "_Video":"05011009.mp4", + "_ThumbnailImage":"05011009.jpg" + }, + { + "_ImageId":"07029109", + "_Title":"Understanding the Physiology of Pain", + "_BodySystem":"3", + "_Video":"07029109.mp4", + "_ThumbnailImage":"07029109.jpg" } ] } -- libgit2 0.21.4