Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Fix 'Filter by Subject' issue in 'Course Discovery' (#1181)
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedbashir authored Dec 7, 2018
1 parent 6c06e04 commit ae8069c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 48 deletions.
42 changes: 18 additions & 24 deletions Source/SubjectsDiscovery/Subjects JSON/en.lproj/subjects.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"name": "Architecture",
"image_name": "architecture",
"filter": "architecture",
"filter": "Architecture",
"type": "normal"
},
{
Expand All @@ -26,13 +26,13 @@
{
"name": "Chemistry",
"image_name": "chemistry",
"filter": "chemistry",
"filter": "Chemistry",
"type": "normal"
},
{
"name": "Communication",
"image_name": "communication",
"filter": "communication",
"filter": "Communication",
"type": "normal"
},
{
Expand All @@ -50,7 +50,7 @@
{
"name": "Design",
"image_name": "design",
"filter": "design",
"filter": "Design",
"type": "normal"
},
{
Expand All @@ -68,7 +68,7 @@
{
"name": "Electronics",
"image_name": "electronics",
"filter": "electronics",
"filter": "Electronics",
"type": "normal"
},
{
Expand All @@ -80,7 +80,7 @@
{
"name": "Engineering",
"image_name": "engineering",
"filter": "engineering",
"filter": "Engineering",
"type": "normal"
},
{
Expand All @@ -92,7 +92,7 @@
{
"name": "Ethics",
"image_name": "ethics",
"filter": "ethics",
"filter": "Ethics",
"type": "normal"
},
{
Expand All @@ -110,55 +110,49 @@
{
"name": "History",
"image_name": "history",
"filter": "history",
"filter": "History",
"type": "normal"
},
{
"name": "Humanities",
"image_name": "humanities",
"filter": "humanities",
"filter": "Humanities",
"type": "popular"
},
{
"name": "Language",
"image_name": "language",
"filter": "language",
"filter": "Language",
"type": "popular"
},
{
"name": "Law",
"image_name": "law",
"filter": "law",
"filter": "Law",
"type": "normal"
},
{
"name": "Literature",
"image_name": "literature",
"filter": "literature",
"filter": "Literature",
"type": "normal"
},
{
"name": "Math",
"image_name": "math",
"filter": "math",
"filter": "Math",
"type": "normal"
},
{
"name": "Medicine",
"image_name": "medicine",
"filter": "medicine",
"filter": "Medicine",
"type": "normal"
},
{
"name": "Music",
"image_name": "music",
"filter": "music",
"type": "normal"
},
{
"name": "Philanthropy",
"image_name": "philanthropy",
"filter": "philanthropy",
"filter": "Music",
"type": "normal"
},
{
Expand All @@ -170,13 +164,13 @@
{
"name": "Physics",
"image_name": "physics",
"filter": "physics",
"filter": "Physics",
"type": "normal"
},
{
"name": "Science",
"image_name": "science",
"filter": "science",
"filter": "Science",
"type": "normal"
},
{
Expand All @@ -185,4 +179,4 @@
"filter": "Social Sciences",
"type": "normal"
}
]
]
42 changes: 18 additions & 24 deletions Source/SubjectsDiscovery/Subjects JSON/es-419.lproj/subjects.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"name": "Architecture",
"image_name": "architecture",
"filter": "architecture",
"filter": "Architecture",
"type": "normal"
},
{
Expand All @@ -26,13 +26,13 @@
{
"name": "Chemistry",
"image_name": "chemistry",
"filter": "chemistry",
"filter": "Chemistry",
"type": "normal"
},
{
"name": "Communication",
"image_name": "communication",
"filter": "communication",
"filter": "Communication",
"type": "normal"
},
{
Expand All @@ -50,7 +50,7 @@
{
"name": "Design",
"image_name": "design",
"filter": "design",
"filter": "Design",
"type": "normal"
},
{
Expand All @@ -68,7 +68,7 @@
{
"name": "Electronics",
"image_name": "electronics",
"filter": "electronics",
"filter": "Electronics",
"type": "normal"
},
{
Expand All @@ -80,7 +80,7 @@
{
"name": "Engineering",
"image_name": "engineering",
"filter": "engineering",
"filter": "Engineering",
"type": "normal"
},
{
Expand All @@ -92,7 +92,7 @@
{
"name": "Ethics",
"image_name": "ethics",
"filter": "ethics",
"filter": "Ethics",
"type": "normal"
},
{
Expand All @@ -110,55 +110,49 @@
{
"name": "History",
"image_name": "history",
"filter": "history",
"filter": "History",
"type": "normal"
},
{
"name": "Humanities",
"image_name": "humanities",
"filter": "humanities",
"filter": "Humanities",
"type": "popular"
},
{
"name": "Language",
"image_name": "language",
"filter": "language",
"filter": "Language",
"type": "popular"
},
{
"name": "Law",
"image_name": "law",
"filter": "law",
"filter": "Law",
"type": "normal"
},
{
"name": "Literature",
"image_name": "literature",
"filter": "literature",
"filter": "Literature",
"type": "normal"
},
{
"name": "Math",
"image_name": "math",
"filter": "math",
"filter": "Math",
"type": "normal"
},
{
"name": "Medicine",
"image_name": "medicine",
"filter": "medicine",
"filter": "Medicine",
"type": "normal"
},
{
"name": "Music",
"image_name": "music",
"filter": "music",
"type": "normal"
},
{
"name": "Philanthropy",
"image_name": "philanthropy",
"filter": "philanthropy",
"filter": "Music",
"type": "normal"
},
{
Expand All @@ -170,13 +164,13 @@
{
"name": "Physics",
"image_name": "physics",
"filter": "physics",
"filter": "Physics",
"type": "normal"
},
{
"name": "Science",
"image_name": "science",
"filter": "science",
"filter": "Science",
"type": "normal"
},
{
Expand All @@ -185,4 +179,4 @@
"filter": "Social Sciences",
"type": "normal"
}
]
]

0 comments on commit ae8069c

Please sign in to comment.