Defect #1190
closedCustom querry 'Export to PDF' ignores field selection
0%
Description
When a new custom querry is created without 'Default columns', and customs columns are chosen, those chosen columns are ignored by the PDF exporter - it simply outputs the default columns.
Related issues
Updated by Leszek Ciesielski over 16 years ago
Also, any polish characters in the issue description are presented in PDF as '??'.
Updated by Curtis Stewart over 16 years ago
+1
We are running into the also. We have the custom queries and for some customers we can just send the URL to the custom query. But for others we like to send a copy of the PDF. We now have to reorder and filter the standard issues report for each customer. It would be much simpler to just save the custom query and then export it to a PDF when we do weekly reporting.
Updated by Wayne Simpson over 16 years ago
This is a problem for us also. I have a customer which is external to our organization and need to send a copy of hte PDF. It only seems logical if we create a query adn that is what is posted to the screen that is what should show up in the PDF. Thanks for addressing this.
Updated by M T about 16 years ago
+1
A related problem is that the csv export is putting out more than what is displayed on screen, including columns that you might not wish the customer to see?
I had a look at the PDF export code, and it's basically a hardwired fixed-layout report, functionally quite different architecture from the html view. I wonder if this approach to doing pdf stuff in rails is a but cumbersome - are there any alternative methods available now?
Updated by Ewan Makepeace about 16 years ago
+1
I am also hitting the problem with CSV export that seems to include the issue body (or something).
Updated by José Campos almost 16 years ago
+1
I would expect the export feature to export the table data exactly as it is presented in the table, not all issues with generic columns (at least, the Export links' position is misleading).
Updated by Michael Aye almost 16 years ago
+1
Important for contact with higher authorities that expect certain format from Project Managers
Updated by Michael Aye almost 16 years ago
bump
can i help? could someone point me to the point in the code, where this is formatted?
Updated by Nanda P over 15 years ago
+1
I created a custom query without "Default columns" & tried to create a PDF report, In the PDF only the standard columns shows up.
How to create custom report in PDF?
Michael: looks like "app\views\issues\index.rfpdf" were the report is formatted.
Updated by Jason Milkins over 15 years ago
Michael Aye wrote:
bump
can i help? could someone point me to the point in the code, where this is formatted?
We're on 0.8.2 and the PDF code is in
lib/redmine/export/pdf.rb
I am looking at the issue index.rhtml
to see if there's any way a simple patch will do the trick.
Updated by Jason Milkins over 15 years ago
Jason Milkins wrote:
Michael Aye wrote:
bump
can i help? could someone point me to the point in the code, where this is formatted?We're on 0.8.2 and the PDF code is in
lib/redmine/export/pdf.rb
I am looking at the issue
index.rhtml
to see if there's any way a simple patch will do the trick.
Ok, not something I can get my teeth into right now, but I hope to have time to play with it.
Updated by Curtis Stewart over 15 years ago
I see several different requests to make the columns in the PDF reflect the query and display of the HTML. I was wondering if this was going to be addressed some time in the future, maybe 0.9.0 ;-)
This is the one request that I get most from my customers.
Updated by Francis Chong over 15 years ago
I have made some ugly hack to make Redmine use Ruport to export the data into CSV format with field selection and query details. Ruport can also export into HTML, TXT, XML, PDF ... etc, but it will take some time to dig into the redmine Query model to make it generally work.
A shorter path perhaps are adding a XML export option, which allows report expert convert them into readable format like PDF?
Updated by Alex Mendes Matt Keniston over 15 years ago
We have developed a complete fix for this bug.
Check out http://www.redmine.org/issues/3614
Updated by Abdul Nafay over 15 years ago
Hi, i am new to Redmine. I need this feature bad but i dont know how to place this "export_issues_to_pdf_csv.diff" file in Redmine root directory. From what i know i have to patch this .diff file with original. I am using TortoiseSVN but i can't file the original file to patch with. If i am not in the right direction please point out and let me know how to exactly get this fix working. I am using windows btw.
Much Appreciated!
AN
Updated by Jean-Philippe Lang over 15 years ago
- Status changed from New to Closed
- Target version set to 0.9.0
- Resolution set to Fixed
Fixed in r2841.