Download & Extend

Word count assigned to last node editor instead of node creator

Project:Word count
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:CrookedNumber
Status:closed (fixed)

Issue Summary

Not really a bug I think, depends on how you use your drupal installation. In my case, users post comments and editors review and fix formatting, misspelling and others errors. When this happends, a new node revision is created with the editor ID as author BUT, the node content was created by node creator, and I want to asign node count to node creator.

Word count algorith asigns this nodes to the last editor, and I fixed this changing nodes SQL select query to :

SELECT nr.title, nr.body, n.uid, u.name FROM {node_revisions} AS nr INNER JOIN {node} AS n ON nr.vid = n.vid INNER JOIN {users} AS u ON n.uid = u.uid

Hope this helps

Comments

#1

Assigned to:Anonymous» CrookedNumber
Status:active» fixed

I agree. Good call.

Fixed in 5-1.1 and 6-1.1

http://drupal.org/node/583834

http://drupal.org/node/583868

Thanks, Metafriki!

#2

Status:fixed» closed (fixed)

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

nobody click here