Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx-platform
Commits
4df73548
Commit
4df73548
authored
May 21, 2014
by
Calen Pennington
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3788 from cpennington/allow-cross-course-references
Allow cross course references in the LMS
parents
39e26404
76235c10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
lms/djangoapps/courseware/model_data.py
+0
-6
No files found.
lms/djangoapps/courseware/model_data.py
View file @
4df73548
...
...
@@ -202,14 +202,8 @@ class FieldDataCache(object):
field
"""
if
scope
==
Scope
.
user_state
:
assert
(
field_object
.
module_state_key
.
org
==
self
.
course_id
.
org
and
field_object
.
module_state_key
.
course
==
self
.
course_id
.
course
)
return
(
scope
,
field_object
.
module_state_key
.
map_into_course
(
self
.
course_id
))
elif
scope
==
Scope
.
user_state_summary
:
assert
(
field_object
.
usage_id
.
org
==
self
.
course_id
.
org
and
field_object
.
usage_id
.
course
==
self
.
course_id
.
course
)
return
(
scope
,
field_object
.
usage_id
.
map_into_course
(
self
.
course_id
),
field_object
.
field_name
)
elif
scope
==
Scope
.
preferences
:
return
(
scope
,
field_object
.
module_type
,
field_object
.
field_name
)
...
...
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