Feedmachine creates duplicate entries when doing multiple cycles.

Description

When you create a feed which requires multiple cycles, a duplicate entry is produced. This is due to bug in the LIMIT part of the query.

e.g.
On cycle 1 the limit is 0, 1000
On cycle 2 the limit is 1000, 1000

So the product in result position 1000 is brought in during both cycles.

Environment

None

Steps to reproduce

None

Status

Assignee

Unassigned

Reporter

Scott Murphy

Labels

None

Severity

Minor

Components

Affects versions

Priority

Configure