Commit d03835d7 authored by Sli's avatar Sli

pedagogy: allow search on uv title

parent b4b7817b
Pipeline #1890 passed with stage
in 23 minutes and 8 seconds
{{ object.code }}
{{ object.manager }}
\ No newline at end of file
{{ object.manager }}
{{ object.title }}
\ No newline at end of file
{{ object.code }}
{{ object.manager }}
{{ object.title }}
......@@ -620,6 +620,12 @@ class UVSearchTest(TestCase):
response = self.client.get(reverse("pedagogy:guide"), {"search": "p"})
self.assertContains(response, text="PA00")
# Search with UV title
response = self.client.get(
reverse("pedagogy:guide"), {"search": "participation"}
)
self.assertContains(response, text="PA00")
# Search with UV manager
response = self.client.get(reverse("pedagogy:guide"), {"search": "HEYBERGER"})
self.assertContains(response, text="PA00")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment