Commit d30a7346 authored by Olga Brani's avatar Olga Brani
Browse files

Bug fixes

- Homepage field appearing in form
- Fix for search_group page
parent d0138201
#Mon Sep 10 11:32:44 EEST 2012
eclipse.preferences.version=1
encoding//astakos/im/migrations/0017_populate_resource_data.py=utf-8
......@@ -515,7 +515,7 @@ class AstakosGroupCreationForm(forms.ModelForm):
except KeyError:
resources = {}
super(AstakosGroupCreationForm, self).__init__(*args, **kwargs)
self.fields.keyOrder = ['kind', 'name', 'desc', 'issue_date',
self.fields.keyOrder = ['kind', 'name', 'homepage', 'desc', 'issue_date',
'expiration_date', 'estimated_participants',
'moderation_enabled']
for id, r in resources.iteritems():
......
......@@ -733,8 +733,9 @@ def group_search(request, extra_context=None, **kwargs):
return render_response(
template='im/astakosgroup_list.html',
form = form,
context_instance=get_context(request, extra_context)
)
context_instance=get_context(request, extra_context),
is_search=False
)
@signed_terms_required
@login_required
......
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