Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
course-discovery
Commits
97f5ed9c
Commit
97f5ed9c
authored
Oct 28, 2017
by
Douglas Hall
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'douglashall/ENT-687' into business/sprint_v
parents
7f6533d6
29a65f26
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
course_discovery/apps/course_metadata/search_indexes.py
+1
-1
No files found.
course_discovery/apps/course_metadata/search_indexes.py
View file @
97f5ed9c
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment