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

Can't select contact records from custom search profile when sorted by Current Employer

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.4
    • Fix Version/s: 4.4.5
    • Component/s: CiviCRM Search
    • Labels:
      None

      Description

      When a Search Views profile includes the Current Employer field AND you sort on that field, the Prev/Next cache is not populated. This causes the function which handles row selection (CRM_Core_BAO_PrevNextCache::getSelection) to fail.

      ---- original post --------
      This is a recurrence of this bug from last year:
      https://issues.civicrm.org/jira/browse/CRM-12840

      I tested it on drupal.demo.civicrm.org which is on 4.4.5
      To replicate it do the following
      1) create a custom search profile with at least one field other than name
      2) use advanced search and display the results using the custom search profile.
      3)Sort the search results by one of the fields in the custom search profile.
      4) try to select individual records. The counter will stay at 0 and the records will not show as having been selected.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              ptpmark mark sherman
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours
                5h