Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
b10ae996
Commit
b10ae996
authored
Feb 19, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Filter first by translation
Prefer most fine grained filter over generic ones.
parent
c2100cd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
weblate/trans/managers.py
weblate/trans/managers.py
+4
-4
No files found.
weblate/trans/managers.py
View file @
b10ae996
...
...
@@ -533,12 +533,12 @@ class ChangeManager(models.Manager):
base
=
self
.
all
()
# Filter by translation/project
if
project
is
not
None
:
base
=
base
.
filter
(
translation
__subproject__project
=
project
)
if
translation
is
not
None
:
base
=
base
.
filter
(
translation
=
translation
)
elif
subproject
is
not
None
:
base
=
base
.
filter
(
translation__subproject
=
subproject
)
elif
translation
is
not
None
:
base
=
base
.
filter
(
translation
=
translation
)
elif
project
is
not
None
:
base
=
base
.
filter
(
translation
__subproject__project
=
project
)
# Filter by language
if
language
is
not
None
:
...
...
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