Commit 97f5ed9c by Douglas Hall

Merge branch 'douglashall/ENT-687' into business/sprint_v

parents 7f6533d6 29a65f26
...@@ -170,7 +170,7 @@ class CourseRunIndex(BaseCourseIndex, indexes.Indexable): ...@@ -170,7 +170,7 @@ class CourseRunIndex(BaseCourseIndex, indexes.Indexable):
has_enrollable_paid_seats = indexes.BooleanField(null=False) has_enrollable_paid_seats = indexes.BooleanField(null=False)
paid_seat_enrollment_end = indexes.DateTimeField(null=True) paid_seat_enrollment_end = indexes.DateTimeField(null=True)
license = indexes.MultiValueField(model_attr='license', faceted=True) license = indexes.MultiValueField(model_attr='license', faceted=True)
has_enrollable_seats = indexes.BooleanField(null=False) has_enrollable_seats = indexes.BooleanField(model_attr='has_enrollable_seats', null=False)
def prepare_aggregation_key(self, obj): def prepare_aggregation_key(self, obj):
# Aggregate CourseRuns by Course key since that is how we plan to dedup CourseRuns on the marketing site. # Aggregate CourseRuns by Course key since that is how we plan to dedup CourseRuns on the marketing site.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment