- 22 Mar, 2017 1 commit
-
-
ECOM-7501
Waheed Ahmed committed
-
- 21 Mar, 2017 4 commits
-
-
filter() and exclude() calls made by the serializer after prefetching were causing prefetched data to be discarded. Moving that filtering ahead of the prefetch prevents prefetched data from being discarded and saves many duplicate queries.
Renzo Lucioni committed -
ECOM-7301
tasawernawaz committed -
ECOM-7500
Waheed Ahmed committed -
ECOM-6466
Awais committed
-
- 20 Mar, 2017 4 commits
-
-
ECOM-7531
Ahsan Ulhaq committed -
filter() and exclude() calls made to narrow the set of course runs after prefetching were causing prefetched data to be discarded. This resulted in the endpoint making many duplicate queries. These expensive duplicate queries are eliminated by prefetching the filtered set of course runs instead of prefetching all course runs and then trying to filter them. ECOM-6473
Renzo Lucioni committed -
ECOM-7415
Waheed Ahmed committed -
File with size 1mb or less can be added. ECOM-7469
Awais committed
-
- 16 Mar, 2017 24 commits
-
-
A course is considered to be "available" if it contains at least one course run that can be enrolled in immediately, is ongoing or yet to start, and appears on the marketing site. The catalog API should only list courses which are available. An earlier attempt at this fell short because it filtered courses to those which contained at least one active *or* marketable run. ECOM-6473
Renzo Lucioni committed -
tasawernawaz committed
-
Bill DeRusha committed
-
Awais committed
-
tasawernawaz committed
-
tasawernawaz committed
-
Waheed Ahmed committed
-
Waheed Ahmed committed
-
Bill DeRusha committed
-
tasawernawaz committed
-
Waheed Ahmed committed
-
tasawernawaz committed
-
Awais committed
-
Waheed Ahmed committed
-
tasawernawaz committed
-
Waheed Ahmed committed
-
tasawernawaz committed
-
Waheed Ahmed committed
-
Bill DeRusha committed
-
Bill DeRusha committed
-
Bill DeRusha committed
-
tasawernawaz committed
-
ECOM-7032
tasawernawaz committed -
ECOM-7438
Waheed Ahmed committed
-
- 15 Mar, 2017 7 commits
-
-
edX Transifex Bot committed
-
ECOM-6815
Anthony Mangano committed -
Chained calls to queryset methods like filter() and exclude() imply a new database query and will cause prefetched results to be ignored. This change is an incremental improvement which more than halves the query count for requests which don't use the marketable_course_runs_only or marketable_enrollable_course_runs_with_archived querystring parameters (from 51 to 22 queries on a system with 1 course and 3 nested course runs). Reducing the query count for requests which do use those parameters requires filtering in Python which mimics the active, marketable, and enrollable queryset methods.
Renzo Lucioni committed -
ECOM-7493
Waheed Ahmed committed -
ECOM-7493
Waheed Ahmed committed -
ECOM-7413
tasawernawaz committed -
ECOM-7472
tasawernawaz committed
-