I've been testing the latest build of the module, and found a bug where the the current total only shows the cumalitive total for the default / untategorized points.
Any points added to a category other than default works fine as far as displaying the log and audit etc. but the total points displayed in the user account details only shows the value of the totalled untategorized points.
Comments
Comment #1
jredding commentedI swear I tested this and it was working fine.
uumm. I'll look into it.
Status changes, userpoints_transaction_tools no longer exists (its in core).
Comment #2
dinis commentedI meant to do some more involved testing.
For reference I only tested on existing points categories and not new ones created after the latest build. Not sure if that would make a difference, but thought you might want to know :)
Comment #3
jredding commentedIt was a bug... its been squashed. The $args array passed into theme_userpoints_my_userpoints() now includes an array of arrays for each category which includes the category name, tid, and point total (for that user, obviously). We still use the caching table so we have just simple SQL statements w/o hefty sum() statement.
There is a single GROUP BY statement to pull the tids for the user but since its on the uid and then JOINed to term_data via tid we should be OK on performance.
Of course the above was just random gibberish to throw it out in the drupalsphere.