Skip to content

Commit

Permalink
Fix #41
Browse files Browse the repository at this point in the history
  • Loading branch information
jedie committed Jul 23, 2015
1 parent 0e7fe4d commit fe7d02f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reversion_compare/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def get_many_to_something(self, ids, related_model, is_reverse=False):
for ver in reversion.get_for_object(o):
# An object can only be missing if it actually existed prior to this version
# Otherwise its a new item
if ver.revision.date_created < version.revision.date_created:
if ver.revision.date_created < old_revision.date_created:
true_missing_objects.append(o)
missing_objects = true_missing_objects
deleted = [d for d in reversion.get_deleted(related_model) if d.revision == old_revision]
Expand Down

0 comments on commit fe7d02f

Please sign in to comment.