The global print field provided for use in views has a checkbox "Display even if view has no result", which I believe is expected to hide/show the view PDF link. Unfortunately I just tried it and it doesn't work (allows showing the link whether an empty resuolt is returned or not. I believe this is a bug.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | selected_9999(6649).png | 219.81 KB | KondratievaS |
| #3 | entity_print-option_display_even-3183662-3.patch | 1.59 KB | brolad |
Issue fork entity_print-3183662
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
brolad commentedComment #3
brolad commentedComment #4
KondratievaS commentedTested patch from #3 - works as expected
Comment #5
ojchris commented@KondratievaS I think the best way to actually show it's working is from the Views result preview. Show the results when the option is checked vs when it's not.
Comment #6
KondratievaS commented@ojchris37 yes, i did it, you can see on screenshot i have attached
Comment #7
jaydee1818 commentedThis also works for me - cheers.
Comment #11
attisan