Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
f71ac95f
Commit
f71ac95f
authored
Sep 27, 2012
by
Sofia Papagiannaki
Browse files
Fix group_list
parent
a339f0e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/views.py
View file @
f71ac95f
...
...
@@ -752,8 +752,8 @@ def group_list(request):
d
[
'own'
].
append
(
g
)
else
:
d
[
'other'
].
append
(
g
)
d
.
set
_
default
(
'own'
,
[])
d
.
set
_
default
(
'other'
,
[])
d
.
setdefault
(
'own'
,
[])
d
.
setdefault
(
'other'
,
[])
for
k
,
l
in
d
.
iteritems
():
page
=
request
.
GET
.
get
(
'%s_page'
%
k
,
1
)
sorting
=
globals
()[
'%s_sorting'
%
k
]
=
request
.
GET
.
get
(
'%s_sorting'
%
k
)
...
...
@@ -1122,4 +1122,3 @@ def timeline(request):
form
=
form
,
timeline_header
=
timeline_header
,
timeline_body
=
timeline_body
)
l
=
l
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment