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

Unable to create multiple default Order Bys with CivicReport

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 4.1.0, 4.1.1
    • Fix Version/s: 4.2.0
    • Component/s: CiviReport

      Description

      The attached file "Bug.php" is a sample CiviReport template with six display columns, four of them are configured to be in the default "order by" list. When the template is opened, only the first default order by column shows up (see "Before.jpg").

      I think I found the error in Form.php. I have attached an updated Form.php (see lines 538 through 551). "After.jpg" shows what the screen looks like when using the updated Form.php file: all four columns show up in the default order by list.

        Attachments

        1. After.jpg
          29 kB
          Michael Labriola
        2. Before.jpg
          21 kB
          Michael Labriola
        3. Bug.php
          4 kB
          Michael Labriola
        4. Form.diff
          0.8 kB
          Michael Labriola
        5. Form.php
          128 kB
          Michael Labriola

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              mhlabriola Michael Labriola
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: