Skip to content

Commit 840a209

Browse files
committed
Merge pull request #5083 from learningequality/0.16.x
0.16.2
2 parents b1f5f17 + 01b52ed commit 840a209

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

data/version.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
0.16.2:
2+
release_date: "2016/04/12"
3+
git_commit: ""
4+
new_features: []
5+
bugs_fixed:
6+
all:
7+
- Fix attempt log filtering (#5082)
8+
students: []
9+
coaches: []
10+
admins: []
11+
112
0.16.1:
213
release_date: "2016/04/04"
314
git_commit: ""

kalite/distributed/static/js/distributed/exercises/views.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ var ExercisePracticeView = ExerciseWrapperBaseView.extend({
728728
initialize_subviews: function() {
729729
this.exercise_view = this.add_subview(ExerciseView, {
730730
el: this.el,
731-
exercise_id: this.options.data_model.get("exercise_id"),
731+
exercise_id: this.options.data_model.get("id"),
732732
data_model: this.options.data_model,
733733
log_model: this.options.log_model
734734
});
@@ -749,7 +749,7 @@ var ExercisePracticeView = ExerciseWrapperBaseView.extend({
749749
load_user_data: function() {
750750

751751
// load the last 10 (or however many) specific attempts the user made on this exercise
752-
this.attempt_collection = new Models.AttemptLogCollection([], {exercise_id: this.options.data_model.get("exercise_id"), context_type__in: ["playlist", "exercise"]});
752+
this.attempt_collection = new Models.AttemptLogCollection([], {exercise_id: this.options.data_model.get("id"), context_type__in: ["playlist", "exercise"]});
753753
var attempt_collection_deferred = this.attempt_collection.fetch();
754754

755755
// wait until both the exercise and attempt logs have been loaded before continuing

kalite/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Must also be of the form N.N.N for internal use, where N is a non-negative integer
88
MAJOR_VERSION = "0"
99
MINOR_VERSION = "16"
10-
PATCH_VERSION = "1"
10+
PATCH_VERSION = "2"
1111
VERSION = "%s.%s.%s" % (MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION)
1212
SHORTVERSION = "%s.%s" % (MAJOR_VERSION, MINOR_VERSION)
1313

0 commit comments

Comments
 (0)