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

Sorting of contact reference fields in advanced search

    Details

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

      Description

      When a contact reference field is used in sorting search results it is sorted on the contact id in the field but it should be sorted on the diplay_name of the contact (at least the user sees the display name)

      How to reproduce?

      1. Create a contact reference custom field
      2. Create a profile for search views and including the custom field from above
      3. Fill in the contact reference field with some contacts
      4. Do an advanced search with the created profile
      5. Sort on the contact reference custom field

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              grapio Jaap Jansma
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: