I noticed the usage of global fields such as user defined text and the counter is not working correctly on the pdf table view.

a) When used without further formating they crash the pdf output (Fatal error: Unsupported operand types in ~/development/sites/all/modules/views_pdf/views_pdf_template.php on line 589) There is a workaround for it, once you set a single text formating option such as bold or the font color, the pdf is generated without problem, but it is a bit confusing.

b) In case of the counter the view always returns 1. When I use the same settings on a normal page display, the rows are numbered correctly (1,2,3,...) but on the pdf something goes wrong.

I have been looking for a way to fix the later, but I am not entirely familiar with views or views pdf... if someone could give me a rought direction on where to correct this, it would be appreciated :)

Comments

sachbearbeiter’s picture

sub

bofrost’s picture

This patch will fix this problem.
Have fun and please review...

bofrost’s picture

Version: 7.x-1.0-rc1 » 7.x-1.x-dev
Assigned: Unassigned » bofrost
Status: Active » Needs review
bofrost’s picture

Status: Needs review » Fixed

The patch is applied to the dev version.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

update: corrected spelling