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) »
  • Current employer autocomplete
Pages: [1]

Author Topic: Current employer autocomplete  (Read 998 times)

kennedy

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 5
  • CiviCRM version: 4.5.5
  • CMS version: Drupal
  • PHP version: 5.3.10
Current employer autocomplete
May 03, 2013, 01:36:49 pm
The current employer search limits the search results to 10 by default, is there anyway i can increase this?
I am using it in civicrm webform so that users can look up for their employers
Any help will be much appreciated.

thanks
« Last Edit: May 03, 2013, 01:41:17 pm by kennedy »

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: Current employer autocomplete
May 03, 2013, 05:50:47 pm
In CiviCRM you can control this using "Autocomplete Results" setting at http://drupal.demo.civicrm.org/civicrm/admin/setting/search?reset=1

I am not sure about webform.

Kurund
Found this reply helpful? Support CiviCRM

kennedy

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 5
  • CiviCRM version: 4.5.5
  • CMS version: Drupal
  • PHP version: 5.3.10
Re: Current employer autocomplete
May 04, 2013, 01:45:44 am
Hi Kurund,
thank you for the reply, I have increased the number to 15 and for some reason it still limits the auto-complete search to 10 in CiviCRM.
Thank you for the help
« Last Edit: May 05, 2013, 08:20:51 am by kennedy »

kennedy

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 5
  • CiviCRM version: 4.5.5
  • CMS version: Drupal
  • PHP version: 5.3.10
Re: Current employer autocomplete
May 05, 2013, 08:25:17 am
The "Auto complete search Results" setting at http://drupal.demo.civicrm.org/civicrm/admin/setting/search?reset=1 works only for individual records.
Is it possible to increase the search limit results for organizations (Current employer)?


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: Current employer autocomplete
May 05, 2013, 10:27:59 am
Yes, currently it is not supported in all the places. You will need to apply below patch: https://github.com/civicrm/civicrm-core/commit/401906c10fd7efb3c95df4eae455eecae114832e.patch

HTh
Kurund
Found this reply helpful? Support CiviCRM

kennedy

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 5
  • CiviCRM version: 4.5.5
  • CMS version: Drupal
  • PHP version: 5.3.10
Re: Current employer autocomplete
May 05, 2013, 01:48:48 pm
Hi Kurund, thank you for your time.
The patch fails with the attached error messages while using the command line to apply patch  (patch -p1 <  {/path/to/patch/file})
Any ideas?
 Thanks

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: Current employer autocomplete
May 14, 2013, 09:39:17 pm
I am not sure why patch is failing, so I guess you will have to manually apply those changes to the corresponding files :(

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Current employer autocomplete

This forum was archived on 2017-11-26.