Blank Result when using relationship

johnthomas00 - March 28, 2009 - 15:16
Project:Views Calc
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I have:
- latest released (not dev) versions on Drupal 6 as of 3/28/09
- cck field with an integer value on node type A
- a nid argument to limit the nodes to related nodes of type A
- view with style Views Calc Table that properly shows a table with the nodes,
but
- on the view edit page, adding an argument and clicking preview does not show the sum line
- visiting a node with the view shows the sum line, but no sums.

I have fiddled around trying every different combination. Further, I have looked through all the issues, but am stuck.

Any help is appreciated.

#1

KarenS - April 2, 2009 - 14:59

You are using values from a relationship? That is not currently working. It's going to be tricky because I have to find the right table name to swap into the query. I'm spending some time on this today. Not sure if I'll find a fix right away.

#2

KarenS - April 2, 2009 - 14:59
Title:Blank Result» Blank Result when using relationship

Renaming for clarity.

#3

johnthomas00 - May 24, 2009 - 16:26

Karen,

Does this same issue also apply to calculation fields? I am trying to calculate a price per X on content type A. The price is a CCK field on content type A, but the number of X's is on content type B, which is a node reference in A.

I wish I knew enough to help these "referenced" problems along. If there is something I can do to help, please let me know.

#4

johnthomas00 - May 31, 2009 - 14:43

Disregard #3
In case others end up here from a search, my solution was:
http://drupal.org/project/computed_field
That module allows field calculations across content types.

#5

hlykos - June 18, 2009 - 14:18

subsribing

 
 

Drupal is a registered trademark of Dries Buytaert.