Active
Project:
Views Group By
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2011 at 14:11 UTC
Updated:
18 Oct 2011 at 12:12 UTC
In the same views, with 2 different roles, I have different results. role 1 is Uid=1 and the role 2 have all permissions (kinda admin role).
The SQL query displayed in the views preview is the same in both roles. Runing SQL query from phpmyadmin give the same results than UID=1. The result from the role 2 is false and greater.
Do you have any idear. I tried to applay the patch http://drupal.org/node/637402, but without any success.
Comments
Comment #1
saurabhk_97 commentedI have the same issue. The patch mentioned above, http://drupal.org/node/637402, is not designed for SUM (functionality added through another patch). Any help will be greatly appreciated. Thanks very much.
Regards,
Saurabh
Comment #2
bneel commentedI didn't find the solution.
Comment #3
christiaan_ commentedHad the same issue - the patch mentioned above does work for me. I have also patched the the file to get the SUM functionality to work as mentioned in #1. Remember after adding the patch to alter your view Group By field settings and select : Add a distinct within the Aggregation function.
I also noticed that the issue completely disappears (without the patch) if you grant "Administer Nodes" permission to the user group. This is course is not a wise choice for most users.