summaryrefslogtreecommitdiff
path: root/chimere/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/views.py')
-rw-r--r--chimere/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/chimere/views.py b/chimere/views.py
index 79cb351..cad10dc 100644
--- a/chimere/views.py
+++ b/chimere/views.py
@@ -247,7 +247,8 @@ def edit(request, area_name="", item_id=None, submited=False):
# get the "manualy" declared_fields. Ie: properties
declared_fields = form.declared_fields.keys()
- filtered_properties = PropertyModel.objects.filter(
+ declared_fields = PropertyModel.objects.filter(available=True).all()
+ filtered_properties = PropertyModel.objects.filter(available=True,
subcategories__id__isnull=False).all()
response_dct.update({
'actions':actions,