learning-unlimited / ESP-Website

A website to help manage the logistics of large, short-term educational programs
82 stars 57 forks source link

Fix get_full_path() cache dependencies #3724

Closed willgearty closed 4 months ago

willgearty commented 4 months ago

This fixes the last (I hope) of the URLs that weren't updating when a program name/URL is changed. This includes links that are made via makeLink (e.g., checkbox interfaces, list of programs at the bottom of the main program management page, maybe the onsite boxes?) and the goToCore link (e.g., the redirect when a student adds or removes a class at /studentreg). I couldn't find a way to depend on only a single Program, so we depend on the entire model, but that isn't changed too often, so I think that's fine.

Fixes #3598.