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) »
  • Change default ordering to be by a (custom) field other than name
Pages: [1]

Author Topic: Change default ordering to be by a (custom) field other than name  (Read 543 times)

yositsitsu

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 2
  • CiviCRM version: 4.0.4
  • CMS version: joomla 1.6.3
  • MySQL version: 5.5.8-log
  • PHP version: 5.3.5
Change default ordering to be by a (custom) field other than name
August 09, 2011, 01:52:47 am
Hi guys,

I searched the settings and forum all over but found nothing on the subject -
Is there a way to change the default ordering of the default search results to be by any other criteria than 'name alphabetically'?

I have a custom fields named 'Submission Date' which would be the optimal best for default ordering.

Thanks!
Yosi

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Change default ordering to be by a (custom) field other than name
August 09, 2011, 02:12:27 am
Which ordering do you want to change? I suspect for that you will have to modify the code.

Kurund
Found this reply helpful? Support CiviCRM

yositsitsu

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 2
  • CiviCRM version: 4.0.4
  • CMS version: joomla 1.6.3
  • MySQL version: 5.5.8-log
  • PHP version: 5.3.5
Re: Change default ordering to be by a (custom) field other than name
August 09, 2011, 02:28:30 am
I suspected that...

As I wrote above, I have a custom field 'Submission Date' - I want the search result ordered by it by default.

Well, thanks Kurund!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Change default ordering to be by a (custom) field other than name

This forum was archived on 2017-11-26.