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

Membership tab sorts memberships in wrong order

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.5.5
    • Fix Version/s: Unscheduled
    • Component/s: CiviMember
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None

      Description

      If you try to sort memberships by start/end date, they sort alphabetically, rather than by date. This is true for both active and inactive memberships. Contributions and activities sort correctly by date.

      I assumed this was a quick fix in templates/CRM/Member/Page/Tab.tpl, but I didn't see anything obviously wrong. I'm also fighting with my dev instance, so I can't easily check &SmartyDebug=1, but I'm guessing there's something simple and obvious.

      To replicate:
      Create three memberships with the following start dates:

      • 1/27/13
      • 9/1/14
      • 1/27/15

      Click the "Start Date" header to sort ascending.
      The two January dates will be at the top, the September start date at the bottom (see screenshot).

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              palantejon Jon K Goldberg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: