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) »
  • Adv Search display results as Related Contact sort gives Error
Pages: [1]

Author Topic: Adv Search display results as Related Contact sort gives Error  (Read 949 times)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Adv Search display results as Related Contact sort gives Error
October 06, 2011, 03:56:45 pm
Great to have the Display Results As 'related contacts' option. I see it being used a lot.

Just tried it with 'employee of' and then wanted to sort my results by the Current Employer column but got Error

Database Error Code: Unknown column 'current_employer' in 'order clause'
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Adv Search display results as Related Contact sort gives Error
October 06, 2011, 04:09:54 pm
thought tht may have been my bad as i had a Search Views selected by default - so deselected that but got same error - but then wondered why i still had a Current Employer column showing
Seems like even after deselecting the Custom Search View it doesn't set the columns back to what it needs.

And maybe now I am mistaken about what this option provides.

If I set up a Profile for Search Views with First/Last and use it when I ask it to Display Results as Employer of I was hoping to see the Indivs names alongside the Org - but no joy (whereas I was getting the Employer name when I did the reverse using the Profile that was set to show it)

Am i just getting myself confused again?

(also again seeing that if i select a Search View and then unselect it, the columns it is set to show continue to show - and i have to reload the Adv Search from scratch - and that is tricky if I have a Search View set to Default as it will always push those fields in.

I expect I need to demo on demo but won't have a chance to do that today.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Adv Search display results as Related Contact sort gives Error

This forum was archived on 2017-11-26.