mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Allow to disable filter support for meta properties (#2901)
This commit is contained in:
@@ -73,6 +73,11 @@ def test_attributes_on_page(env, client):
|
||||
r = client.get('/mrmcd/?attr[loc]=HH')
|
||||
assert 'MRMCD2015' in r.rendered_content
|
||||
|
||||
prop.filter_allowed = False
|
||||
prop.save()
|
||||
r = client.get('/mrmcd/?attr[loc]=MA')
|
||||
assert 'MRMCD2015' in r.rendered_content
|
||||
|
||||
|
||||
@pytest.mark.django_db
|
||||
def test_non_public_event_not_on_page(env, client):
|
||||
|
||||
Reference in New Issue
Block a user