{% extends 'base.html' %} {% load render_bundle from webpack_loader %} {% block title %} Query Preview {% endblock title %} {% block css %} {# NOTE: We are NOT loading base.scss to avoid loading the edX Pattern Library. #} {% render_bundle 'query-preview.style' 'css' %} {% endblock %} {% block js %} {{ block.super }} {% render_bundle 'query-preview' 'js' %} {% endblock %} {% block content %}
This page is a demonstration of the query language that will power dynamic course catalogs use for affiliates and coupons.
A number of fields can be used to search for courses. A complete list is below.
| Name | Description |
|---|
| Description | Query |
|---|---|
| Courses belonging to a specific organization | org:(MITx OR HarvardX) |
| Courses NOT belonging to a specific organization | org:(-MITx OR -HarvardX) |
| Courses starting in a specific time period | start:[2016-01-01 TO 2016-12-31] |
| All runs of a particular course | number:6.002x* |
| Course Run Key | Name |
|---|