Skip to content

Commit 949a933

Browse files
Merge pull request #1214 from thecourseforum/fix-course-number-toolbar
Change Course ID to Course Number on sort by department page
2 parents 4480f76 + 88a19ae commit 949a933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tcf_website/templates/common/toolbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<div id="sortButtons" class="btn-group btn-group-sm" role="toolbar" aria-label="Sorting Buttons">
3737
{% if active_course_recency %}
3838
<a href="{% url 'department_course_recency' dept_id active_course_recency %}?sortby=course_id&order={% if sortby == 'course_id' and order == 'asc' %}desc{% else %}asc{% endif %}" class="btn btn-outline-primary {% if sortby == 'course_id' %}active{% endif %}">
39-
Course ID {% if sortby == 'course_id' %}{% if order == 'asc' %}&#11014;{% else %}&#11015;{% endif %}{% endif %}
39+
Course Number {% if sortby == 'course_id' %}{% if order == 'asc' %}&#11014;{% else %}&#11015;{% endif %}{% endif %}
4040
</a>
4141
<a href="{% url 'department_course_recency' dept_id active_course_recency %}?sortby=rating&order={% if sortby == 'rating' and order == 'asc' %}desc{% else %}asc{% endif %}" class="btn btn-outline-primary {% if sortby == 'rating' %}active{% endif %}">
4242
Rating {% if sortby == 'rating' %}{% if order == 'asc' %}&#11014;{% else %}&#11015;{% endif %}{% endif %}

0 commit comments

Comments
 (0)