[eluser]OverZealous[/eluser]
[quote author="pdswan" date="1251329541"]only gives 1 result because _to_object tries to add the object to items with it's id as the index, but the id is not defined [...][/quote]
This has been an issue leftover from the original DataMapper. I don't know stensi's original thought on this, but I never changed it, because I was afraid it would break existing code (since it's effectively adding DISTINCT to every query).
I had always planned on removing it when I got DMZ to 2.0.0, because a major version change is usually safe for big fixes.
However, your solution is a great interim solution. I'm definitely going to adopt that, and it will be included in 1.5.1!