Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-9509

'0' values are not exported in .csv

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.7
    • Fix Version/s: 4.1.0
    • Component/s: CiviReport
    • Labels:
      None

      Description

      When exporting a report result to .CSV format, columns that have a value of '0' are incorrectly exported as blank. Having a '0' value is definitely not the same as having no value at all. The included patch corrects this behavior and works whether the column is typed as a numeric or text field.

      The patch is to be applied to file: CRM/Report/Utils/Report.php

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              nganivet Nicolas Ganivet
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 minute
                1m
                Remaining:
                Remaining Estimate - 1 minute
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified