Skip to content

Commit

Permalink
Fix an issue with short course links
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Gan committed Jan 17, 2025
1 parent 29cebff commit fddbe4e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion rca/schools/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ def get_short_courses_index_link(self):
).first()
if short_course_type:
return (
f"{self.get_programme_index_link()}?category=programme_type&"
f"{self.get_programme_index_link()}?category=programme_types&"
f"value={short_course_type.id}-{slugify(short_course_type.display_name)}"
)

Expand Down
1 change: 0 additions & 1 deletion rca/shortcourses/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
from wagtail.models import Orderable
from wagtail.search import index

from rca.programmes.models import ProgrammeType
from rca.utils.blocks import (
AccordionBlockWithTitle,
GalleryBlock,
Expand Down

0 comments on commit fddbe4e

Please sign in to comment.