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 Profiles (Moderator: Dave Greenberg) »
  • Profile and advanced search: how is that supposed to work ?
Pages: [1]

Author Topic: Profile and advanced search: how is that supposed to work ?  (Read 3045 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Profile and advanced search: how is that supposed to work ?
December 10, 2008, 09:43:27 am
Hi,


I've created a profile with the sort_name (contact), the employer (individual), the country (contact)... Every field is either individual or contact

No matter what I put or so I feel, when I search on the advanced search, it always return the list with only the sort_name and type displayed, and that's it. Nothing more, no other column.

How is that supposed to work, and how to test it so civicrm says the problem instead of ignoring my columns?

X+

-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

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: Profile and advanced search: how is that supposed to work ?
December 10, 2008, 10:04:29 am
Hey Xav - I think you'll have to give more info on your settings in the Profile - eg if it has 'Search' checked etc.
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

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Profile and advanced search: how is that supposed to work ?
December 10, 2008, 10:20:39 am

hey, can you reproduce this issue on demo?

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Profile and advanced search: how is that supposed to work ?
December 12, 2008, 02:04:13 am
Created a test xavier profile:
- sort_name
- current employer
- country

Result:
(search on everything)
http://drupal.demo.civicrm.org/civicrm/contact/search/advanced?_qf_Advanced_display=true&qfKey=586059170279a8121f7346c4c0d35388
- icon for the type
- sort name


Expected result:
- icon for the type
- sort_name
- current employer
- country

-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

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: Profile and advanced search: how is that supposed to work ?
December 12, 2008, 02:06:04 am
xavier:

Actually you have not made any profile fields "Use in Selector" hence you are not getting any headers. I have modified 'sort_name' and now it is showing correctly.

You also don't need to have sort_name in profile since selector automatically adds it.

HTh

Kurund
« Last Edit: December 12, 2008, 02:17:15 am by Kurund Jalmi »
Found this reply helpful? Support CiviCRM

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Profile and advanced search: how is that supposed to work ?
December 13, 2008, 04:45:54 am
Ah, "use in selector" means "display the column" ? It probably made sense for someone at one point ;)

Beside, what would be the point of having an attribute in a profile used for a search result view and not display that attribute as a column ? I mean, setting the columns to display is precisely the goal of this search view profile, right ?

Not that I'm trying to deny my stupidity, but I'd rather have simpler to config and more focussed on one task profiles, instead of the one size fits all approach today with tons of options on the profile and each attribute, with zillions of ways of shooting yourself in the foot.

Eg, if I create a view for a search result, obviously, all the fields I put in that profiles are to be displayed in the search result.

Let me get a clearer idea of what doesn't work for mere mortals with the current profile, and I'll come with a rant in a few weeks ;)

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Profile and advanced search: how is that supposed to work ?
December 13, 2008, 07:40:40 am

There is always the conflict with using the same "concept" in multiple places, as we've done with profies. Or introduce a new concept for every distinct use case. There are pros/cons of both methods (there is no reason why a search profile cannot be used as a means to collect info etc)

I suspect that we can make things smarter and better using more javascript etc. But then again, that means more code / complexity / time etc :). The documentation for profiles seems quite complete and can be improved if needed. Maybe a question of getting folks to read the docs :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Profile and advanced search: how is that supposed to work ?
December 13, 2008, 07:56:08 am
What do you mean by RTFM ? The OSS approach I'm familiar with is complain first :)
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Why does it have to be public ?
December 14, 2008, 08:55:15 am
Hi,

I know why I missed it: I want it to be only for admins and logged in members, they are the onces accessing the advanced search anyway.

Why do I have to make the profile public to let them access it ? (the in selector what hidden otherwise ?)

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Profile and advanced search: how is that supposed to work ?
December 14, 2008, 09:39:37 am

1. the reuse of profiles across multiple concepts

2. the visibility settings (taken from drupal are fairly limited). We'll fix it at some point

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Profile and advanced search: how is that supposed to work ?

This forum was archived on 2017-11-26.