We’re rewarding the question askers & reputations are being recalculated! Read more.
11

There is a non-code fix for this: You could make a profile with the fields you want to display. And then you search using Advanced Search, and you could select that profile in the "display result as". Edit: As pointed out by Philipp Michael in the comments below, you could also choose a certain profile as the default one, in the admin settings ( at /...


6

In civicrm.settings.php, you can enable: define('CIVICRM_DEBUG_LOG_QUERY', 1); Then run the "Advanced Search" and look at the output in files/civicrm/ConfigAndLog/CiviCRM*log*. This will output for several queries; to avoid accumulation of junk data, you should probably disable the CIVICRM_DEBUG_LOG_QUERY after running the query. There's some more ...


5

You could tag the Employers, then search for them, but set 'display results as' (top right of Adv Search pre-4.6, bottom of first section in 4.6) to 'show as related contacts' which you would set to 'employees of'


5

We found a way that may perhaps be helpful for others, so we're posting the answer here. This applies to Drupal 7, Civi 4.6.17: We needed to add extra fields to the Batch update profile code, as per this answer. We used some javascript and custom css and allocated it to our batch update pages as a Drupal block, using php to target pages with '...


5

MikeLab, Welcome to CiviCRM SE. The address to be displayed on search result (primary or non-primary) is based on the setting 'Search Primary Details Only'. You can change the value of this setting by navigating to CiviCRM >> Administrator >> Customize Data and Screens >> Search Preferences. If you set 'Search Primary Details Only' to yes then it search ...


4

In CiviCRM you cannot assign email-adresses to groups but only contacts, including all their related information such as email-adresses. Could you specify, what you want to do with the contacts in question (e.g. sending an email to a specific address, create a pdf-letter...)? Maybe there is another solution for your task at hand. I think the non-primary ...


4

It can be done navigating to Administer -> Customize Data and Screens -> Search Preferences, the first option is Automatic Wildcards, disable it. If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for 'ada' will return any contact whose name includes those ...


4

If you need to exclude all of those email options at once for an export or something I would search up those people, put them in a group, and exclude the group from your searches. To search up that group of people I would use search builder (Search>Search Builder in the main CiviCRM menu) with the following settings: Contacts: Email: Primary: Is Empty Also ...


4

Good question. There is probably no explanation except that the developer who implemented it called it this way. Maybe by mistake. If you feel this is wrong you can file an issue and if you have technical expertise you can fix it.


4

You can use the search builder to search for empty fields, e.g. Steet-Address or ZIP Code. From the result, you could create a (smart) group and then exclude contacts in that group from the mailing.


4

You can configure profile to use as contact search. You can also control the result columns in profile search. To display contact result by default you can append force=1 in url. Ref: https://docs.civicrm.org/user/en/latest/the-user-interface/searching/#views-for-display-contacts You can create smart group which holds all the contacts and use the contacts ...


4

This is a recent bug introduced by the fix to a different search issue, issue #726. A permanent fix will need to be found that doesn't break either scenario. However, to resolve your immediate issue, you can open file CRM/Contact/BAO/Query.php and delete line 3037. I've reported this issue as #1048.


3

I have replicated this on another site on 4.6.6 & logged https://issues.civicrm.org/jira/browse/CRM-17006


3

This sounds like a bug in recent CiviCRM, especially given that you've confirmed the behavior change on demo site. Why this happened isn't so important I expect as what to do to get it fixed, and whether this change in behavior is intended - I'd guess not. To get it fixed, the next step would be to open an issue in the bug tracker at http://issues.CiviCRM....


3

(EDITED) You could use a combination of eg a smart group for Orgs with name contains 'embassy of', and then Tag every record that has 'the US', then search for contacts that are in Embassy group and US Tag and set 'search operator' to AND "Search Operator Determines whether your criteria are combined with AND statements, or combined with OR statements. For ...


3

In CiviCRM version 4.5+ you can control exactly how many results are shown per page. At the bottom-right corner of the search results, click the up/down arrows to increment the count by 25, or type in whatever number you wish:


3

It's likely an issue with the code. The fastest "fix" is to hide that armless message by changing the setting. you add in your civicrm.setting.php that line: ini_set("error_reporting", 0); and it should avoid to show that message. Beware that it means that you might have other errors (eg. from other modules) that will be hidden too.


3

It is complicated to add a sort order on address labels. I think it is possible to add a sort order to your search and that sort order is used in printing labels. However, in a recent project, we dealt with the exact problem and using the search did not do the trick. I don't know why anymmore. But we solved the problem by creating a custom report template ...


3

It does sound like a reasonable feature request, and the good news is that it's already been implemented. The pull request was merged in March, so any version of CiviCRM from 4.7.18 upwards should include it in the advanced search criteria. I checked locally and here's a screenshot of the changed address fields in advanced search:


3

In the advanced search under the "Address Fields" you can choose "Address Location" which defaults to primary only. By selecting all of them you can search by any address type. answer taken from this thread Using custom fields to store secondary addresses


3

This has been fixed at https://github.com/civicrm/civicrm-core/pull/10556 and is included in 4.7.21 version. You can apply the PR on your site if you don't wish to upgrade now.


3

This is job for the Search Builder that you can find in the Search menu Select Individual Select Individual Prefix Complete with = and the desired title. When the results are shown you can create a Smart Group for this search.


3

Add &force=1 to the url. You can also specify the search terms by the field name, e.g. to pre-specify a search on First Name use http://dmaster.demo.civicrm.org/civicrm/profile?gid=1&force=1&first_name=Errol&reset=1


2

This is a known bug in 4.4 (CRM-16056). I fixed this in Civi 4.6. If you can't upgrade for whatever reason, it's a very simple fix.


2

The custom search interface does not implement an API for those actions as yet. I dont think those are hookable right now, but I suspect the best first step would be to modify the code (and submit the patch back) to make those actions hookable. Once that is done, it should be relatively easy, for the custom search interface to expose the hook as an API


2

This option does not exist (as yet).I'm not aware of an extension to do this either. Your options include: a. Write an extension that adds the above functionality b. Use the api to export the data into a program that can generate multiple vcards and use that


2

There's a setting in the Administer -> Customize Data and Screens -> Search Preferences called "Include Order By Clause". If you set that to "No" (presumably to improve performance as it recommends), then your search results will be ordered by contact id even when you try to change the sort order by clicking on the column headers.


2

If you choose to display 100 as search result, your URL will change. The last number in the URL is setting how many you want to display. Simply overwrite the number 100 with the number you desire, and then hit enter.


2

Based on the revised question you should: Use search builder to create a "countries of interest" (smart) group. "Also include contacts where" is the OR operator. I would suggest you specify % UK% and % US% etc as this will at least eliminate options where uk or us are in the centre of an organisation name. Use search builder or advanced search to create a (...


2

Try the search builder: Include contacts where first name="john" and last name="doe" +also include contacts where first name="john" and last name="coltrane" should get you the list you want


Only top voted, non community-wiki answers of a minimum length are eligible