CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • sorting a search list
Pages: [1]

Author Topic: sorting a search list  (Read 460 times)

robinhood

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 6
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.56
  • PHP version: 5.3.5
sorting a search list
September 27, 2012, 06:30:52 am
I noticed that when using a search list of contacts, the contacts ar e not sorted by sort_name.  They appear to be in order by contact id.  Clicking on the column headings does not sort by that column. Is there a setting I missed somewhere?
« Last Edit: September 28, 2012, 08:14:31 pm by robinhood »

Jason W

  • I post frequently
  • ***
  • Posts: 197
  • Karma: 12
  • jason@civitrainingtutorials.com
  • CiviCRM version: 4.2
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5.x.x
Re: sorting a search listed
September 28, 2012, 09:39:45 am
Hello robinhood,

I tried to set this up on my installation, but I was unsuccessful. I have a couple of ideas however.

1. Set up a custom profile that contains all of the fields that you need for your searches, making sure that you don't have a Contact ID field. Go to search preferences, and set this profile as your default contact search profile.

2. Check your Sort name format in Display preferences. Make sure it reads:{contact.last_name}{, }{contact.first_name} and not {contact.ID} or something.

If this doesn't help, maybe post a screenshot or 2 so we can see what's going on.

Cheers,
Jason
civiTrainingTutorials
"Helping You Help Others"

robinhood

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 6
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.56
  • PHP version: 5.3.5
Re: sorting a search list
September 28, 2012, 08:21:11 pm
Well, that was strange.  I looked at both of those areas, didn't change anything, but clicked the save button anyway.  And now it sorts contacts as you would expect.   ???

Thanks!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • sorting a search list

This forum was archived on 2017-11-26.