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

Commit

Permalink
Merge pull request #89 from edx/jsa/fix-course-query
Browse files Browse the repository at this point in the history
filter course runs by org key, not display_name
  • Loading branch information
Jim Abramson committed Jan 21, 2016
2 parents 109572a + b5d1e13 commit e36fd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/static/js/collections/course_runs_collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ define([

initialize: function(models, options) {
// Ignore pagination and give me everything
var orgStr = options.organization.display_name,
var orgStr = options.organization.key,
queries = '?org=' + orgStr + '&username=' + apiConfig.get('username') + '&page_size=1000';

this.url = apiConfig.get('lmsBaseUrl') + 'api/courses/v1/courses/' + queries;
Expand Down

0 comments on commit e36fd9c

Please sign in to comment.