Hey Turgrid,

I just wanted to mention that in mp_products.module, the query in function mp_products_selling($uid) is looking for all nodes belonging to a user. This is problematic because it'll also include any other nodes the user has created, including blog posts, pages, etc.

Simply add " AND n.type = 'product' " to your query to filter by node type 'product'.

Comments

Turgrid’s picture

Thanks for finding that. The join in the first query handled limiting by product, but the query for the pager does indeed miscount product nodes by counting all nodes. In a few days I will round up the minor bugs mentioned since BETA4 and commit a release. Thanks again.

syndicateStorm’s picture

Status: Active » Fixed

This was fixed by Turgrid Nov. 8, 2008. I confirmed the fix is included in the 5.x-1.0-beta5 release as well as the d5 and d6 dev releases.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.