airtonix/cmsplugin-shop — pull request #1 by twoolie (2012-02-27 02:08:35+00:00)
Title: A couple of changes to how cmsplugin_topproducts works

Deal with lack of distinct() and deficiency of OrderItem where product_reference is not an FK to product, but a charfield and hence will return IDs of Products that do not exist.