Closed (fixed)
Project:
Printer, email and PDF versions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2011 at 14:15 UTC
Updated:
5 Jun 2012 at 23:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
lliss commentedThis patch provides the functionality for nodes.
Comment #2
lliss commentedUPDATE: Okay that last patch is broken due to passing in bad table_alias with $this->table_alias. Rolling another shortly.
Comment #3
lliss commentedThis one fixes the issue with the broken table alias. Still having some trouble with the aliases though so this one is basically hard coded. The result is that this might not work if there are more complex views being built. It seems to fail if there are multiple instances of the sort and it might fail if there are relationships.
Comment #4
jcnventuraThanks for the patch. Comitted it to git.
Comment #6
lliss commentedThe way you rewrote the code prior to commuting the fix left the views handler broken. The include file for the views handler needs to be in the .info file. Also the handler should not be named starting with views but should be prefixed with the module name, in this case print_mail. Finally we don't need the other include files called specifically in the .info file. A patch is attached. Also, can me move this into the 2.x branch as well.
Comment #7
jcnventuraAh, don't worry about that... I'm not integrating any new patches until I finish 2.x :)
Comment #8
jcnventuraThanks for the heads-up.. In the meantime, I learned how to use Views properly, so now the module has proper support for all fields.
I've just committed this support to all the devs, as the code was completely isolated from the specificities of the different branches.