Project

General

Profile

Actions

Defect #1190

closed

Custom querry 'Export to PDF' ignores field selection

Added by Leszek Ciesielski over 16 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
Start date:
2008-05-06
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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

Related to Redmine - Patch #3614: Export to PDF/CSV ignoring custom queries and HTML query display problemsClosed2009-07-14

Actions
Related to Redmine - Feature #1141: PDF customizationClosed2008-04-29

Actions
Has duplicate Redmine - Feature #2204: When creating PDF of the issue list use the same columns as shown on web page.Closed2008-11-17

Actions
Actions #1

Updated by Leszek Ciesielski over 16 years ago

Also, any polish characters in the issue description are presented in PDF as '??'.

Actions #2

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.

Actions #3

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.

Actions #4

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?

Actions #5

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).

Actions #6

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).

Actions #7

Updated by Michael Aye almost 16 years ago

+1
Important for contact with higher authorities that expect certain format from Project Managers

Actions #8

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?

Actions #9

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.

Actions #10

Updated by Peter Edstrom over 15 years ago

+1

Actions #11

Updated by Jason Milkins over 15 years ago

+1

Actions #12

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.

Actions #13

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.

Actions #14

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.

Actions #15

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?

Actions #16

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

Actions #17

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

Actions #18

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.

Actions

Also available in: Atom PDF