Skip to content

Commit

Permalink
Bug fix convert from download.json to default.json
Browse files Browse the repository at this point in the history
  • Loading branch information
veronikaandersen committed Dec 10, 2018
1 parent 4c5ddcd commit 7751a5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/DatasetService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -519,10 +519,10 @@ public List<Download> RemoveDuplicatesIterative(List<Download> items)
var set = new HashSet<string>();
for (int i = 0; i < items.Count; i++)
{
if (!set.Contains(items[i].DatasetTitle))
if (!set.Contains(items[i].DatasetId))
{
result.Add(items[i]);
set.Add(items[i].DatasetTitle);
set.Add(items[i].DatasetId);
}
}
return result;
Expand Down

0 comments on commit 7751a5d

Please sign in to comment.