Answers.Body: <p>The profile search fields respect the system-wide default country.  To set the default country:</p>
  
  <ul>
  <li><strong>Administer menu » Localization » Languages, Currency, Location</strong>.</li>
  <li><em>Default Country</em> is located about halfway down the page.</li>
  </ul>
  
  <p>Screenshot:
  <a href="https://i.sstatic.net/PfIed.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/PfIed.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-27T20:36:20.553Z
Answers.Text: I'm running v4.7.3 on Joomla 3.8.6, and while I have Default Country selected, when I provide a public link to a profile which allows for Proximity search, the Country dropdown does not default to the Default Country.
  
  see :
  https://www.cahpi.ca/index.php?option=com_civicrm&view=Profiles&layout=search&task=civicrm/profile&gid=21&reset=1&Itemid=43&lang=en
Answers.UserDisplayName: A. Block
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-27T21:11:36.080Z
Answers.Text: Ah, you're correct.  The default country is respected on "create" but not on search.  You may want to file a bug report on this, but given limited resources you may need to submit a fix yourself or hire someone!  I imagine that you're not the first person to find this, but it's not worth it to fund a fix.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-20T22:18:30.410Z
Answers.LastActivityDate: 2017-10-20T22:18:30.410Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>I recently came across the same problem myself - for country, not for state - so I wrote an extension (com.megaphonetech.defaultcountrysearch) to automatically set the default country on profile search forms when such a field exists.  You can <a href="https://github.com/MegaphoneJon/com.megaphonetech.defaultcountrysearch" rel="nofollow noreferrer">download it here</a>.  It should be reasonably easy to add support for a default state as well!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-10T00:56:47.397Z
Answers.LastActivityDate: 2018-05-10T00:56:47.397Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I'm trying to figure out how I can set public-facing proximity searches in 4.7.25 to default to civiCRM's default country? </p>
  
  <p>Currently, the user is required to select a country and state, but 99% of our searches happen within the same country. </p>
  
  <p>is there a way to set this?</p>
  
Tags: <search>
Title: Show default country and state for public proximity search
ThreadText: # Show default country and state for public proximity search
  
  (Asked by: username_0 on 2017-10-20)
  
  I'm trying to figure out how I can set public-facing proximity searches in 4.7.25 to default to civiCRM's default country?
  
  Currently, the user is required to select a country and state, but 99% of our searches happen within the same country.
  
  is there a way to set this?
  
  **Tags:** search
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-10-20. Score: 1
  
  The profile search fields respect the system-wide default country. To set the default country:
  
  * **Administer menu » Localization » Languages, Currency, Location**.
  * *Default Country* is located about halfway down the page.
  
  Screenshot:
  [![enter image description here](https://i.sstatic.net/PfIed.png)](https://i.sstatic.net/PfIed.png)
  
  > **Comments:**
  > **username_0**: I'm running v4.7.3 on Joomla 3.8.6, and while I have Default Country selected, when I provide a public link to a profile which allows for Proximity search, the Country dropdown does not default to the Default Country.  see : https://www.cahpi.ca/index.php?option=com_civicrm&view=Profiles&layout=search&task=civicrm/profile&gid=21&reset=1&Itemid=43&lang=en  
  > **username_1**: Ah, you're correct.  The default country is respected on "create" but not on search.  You may want to file a bug report on this, but given limited resources you may need to submit a fix yourself or hire someone!  I imagine that you're not the first person to find this, but it's not worth it to fund a fix.  
  
  ---
  
  ### Answer by username_1 on 2018-05-10. Score: 1
  
  I recently came across the same problem myself - for country, not for state - so I wrote an extension (com.megaphonetech.defaultcountrysearch) to automatically set the default country on profile search forms when such a field exists. You can [download it here](https://github.com/MegaphoneJon/com.megaphonetech.defaultcountrysearch). It should be reasonably easy to add support for a default state as well!
  
  
  ---
  
  