if i set a field to output the field as a link it breaks the total and total currency functionality. my tables just show 0 or $0.00 if this is set. how can i fix this?

Comments

dalearyous’s picture

anyone have anything on this yet?

mojiro’s picture

Please check this http://drupal.org/node/1876548
it is an unofficial patched version by me.

dalearyous’s picture

thanks! i will try it in next couple days!

dalearyous’s picture

I came up with my own solution to this problem. All you need to do is to modify the module file.

Within the foreach ($data as $val) add this right after

if (strpos($val, '') !== false) {
preg_match('/(.*)<\/a>/', $val, $value);
$val = $value[1];
}

oadaeh’s picture

If you create a proper patch from working code, it's a lot easier to apply, test, and submit the changes.

oadaeh’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Assigned: Unassigned » oadaeh
Issue summary: View changes

  • oadaeh committed e06e1c8 on 7.x-1.x
    Issue #1880450 and #2780533 and #2081765 by oadaeh, mojiro. 1880450: "...
oadaeh’s picture

Assigned: oadaeh » Unassigned
Status: Active » Fixed

I committed code changes which address this.
I did not use the code from @dalearyous, because I was unable to get it to work correctly (probably because of something missing in the strpos() call), but also because the same code that fixed this was also part of the code that fixed the other two issues.

Status: Fixed » Closed (fixed)

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