Newest first should be different from oldest first (fixes #2161)

This commit is contained in:
Jakob Borg 2015-08-19 09:42:52 +02:00
parent c2bc3358cc
commit c7dbe18df6

View File

@ -533,7 +533,7 @@ func (p *rwFolder) pullerIteration(ignores *ignore.Matcher) int {
case config.OrderOldestFirst:
p.queue.SortOldestFirst()
case config.OrderNewestFirst:
p.queue.SortOldestFirst()
p.queue.SortNewestFirst()
}
// Process the file queue