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

Integer list option custom fields do not render properly in reports

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7.13
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      To reproduce :

      • create a custom fields on contact of type Integer / Select
      • go to a contact report and try to filter by this custom field
        You get a numeric filter instead of a select filter.

      The reason why we use a Integer instead of a String is for database space optimization but we don't want the Integer to be shown anywhere. It has no meaning to the end user.

      In the advanced search, for the same custom field, the filter is correct and use a html select.

        Attachments

          Activity

            People

            • Assignee:
              samuelsov Samuel Vanhove
              Reporter:
              samuelsov Samuel Vanhove
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: