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) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Order By in custom search
Pages: [1]

Author Topic: Order By in custom search  (Read 754 times)

ryeradio

  • I post frequently
  • ***
  • Posts: 185
  • Karma: 1
  • CiviCRM version: 4.2.1
  • CMS version: Drupal
  • MySQL version: MySQL5
  • PHP version: PHP5
Order By in custom search
June 25, 2012, 01:20:48 pm
Hi I am doing a custom search. We need a search to show us the number of activities per an activity type. My SQL works great, but I have an ORDER by in my SQL and I cannot figure out to inject that into the php code. Everything else is working fine, but the example in the Civicrm document does not talk about group by's.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Order By in custom search

This forum was archived on 2017-11-26.