Permalink
Browse files

2155: parents should be pulled from full(), not public()

When adding subtitle versions, parents need to be the latest version, even if it
happens to be deleted.
  • Loading branch information...
1 parent ab1a702 commit 5686b5ddc0d88c52ebb2144dfd3fbf79e36d3238 @sjl sjl committed Apr 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 apps/subtitles/forms.py
View
@@ -335,7 +335,7 @@ def _find_parents(self, from_language_code):
if from_language_code:
from_language = self.video.subtitle_language(from_language_code)
- from_version = from_language.get_tip(public=True)
+ from_version = from_language.get_tip(full=True)
parents = [from_version]
return parents

0 comments on commit 5686b5d

Please sign in to comment.