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

Clicking "View" on a custom file field with multiple values brings up first value

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7.21
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      When a custom group includes a file field, and has multiple values, clicking "view" on the file field in the second or subsequent set displays the url for the file field in the first set.

      This happens because nothing to identify which one of the multiple values you want is passed into the function that gets the file URL.

      The attached patch fixes it.

       

       

        Attachments

        1. CRM-21034.patch
          3 kB
          Naomi Rosenberg
        2. CRM-21034-USE-THIS-ONE.patch
          3 kB
          Naomi Rosenberg

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              naomi Naomi Rosenberg
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: