mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-25 18:44:23 +00:00
pedagogy: allow search on uv title
This commit is contained in:
parent
b4b7817baa
commit
d03835d737
@ -1,2 +1,3 @@
|
||||
{{ object.code }}
|
||||
{{ object.manager }}
|
||||
{{ object.title }}
|
@ -1,2 +1,3 @@
|
||||
{{ 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")
|
||||
|
Loading…
Reference in New Issue
Block a user