Answers.Body: <p>This should be available in 5.51 with this PR by @coleman: <a href="https://github.com/civicrm/civicrm-core/pull/23597" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/pull/23597</a>. It works for me for the above criteria.</p>
  <p><a href="https://i.sstatic.net/ZtDGN.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ZtDGN.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-30T15:18:34.343Z
Answers.LastActivityDate: 2022-05-30T15:18:34.343Z
Answers.UserDisplayName: Demerit
Body: <p>When I used the advanced search screen, <strong>displaying results as contacts</strong> I can get proximity and case criteria to work together (for instance anyone 50 miles from zip code 12345 with an ongoing facility support case).</p>
  <p>But when I change the results to <strong>show the results as cases</strong> it tells me there are no matches found. (Same exact criteria, I just want to see a list of facility support cases in the area).</p>
  <p>I can combine other criteria in the address section, just not the &quot;Find contacts within&quot; field. Is this a bug? Is anyone else able to get this to work?</p>
  <p>I'm using Civi 5.39.4 and Drupal 7</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-04-08T18:42:39.063Z
Comments.Text: Not sure if this is coincidental but this just happened: https://lab.civicrm.org/dev/core/-/issues/3163
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-04-13T14:29:59.193Z
Comments.Text: Thanks - I'll keep an eye on that issue to see if it's related/clears things up.
Comments.UserDisplayName: RayWright
Tags: <civicase><advanced-search>
Title: Proximity search in a set of case results
ThreadText: # Proximity search in a set of case results
  
  (Asked by: username_0 on 2022-04-07)
  
  When I used the advanced search screen, **displaying results as contacts** I can get proximity and case criteria to work together (for instance anyone 50 miles from zip code 12345 with an ongoing facility support case).
  
  But when I change the results to **show the results as cases** it tells me there are no matches found. (Same exact criteria, I just want to see a list of facility support cases in the area).
  
  I can combine other criteria in the address section, just not the "Find contacts within" field. Is this a bug? Is anyone else able to get this to work?
  
  I'm using Civi 5.39.4 and Drupal 7
  
  **Tags:** civicase, advanced-search
  
  > **Comments:**
  > **username_1**: Not sure if this is coincidental but this just happened: https://lab.civicrm.org/dev/core/-/issues/3163  
  > **username_0**: Thanks - I'll keep an eye on that issue to see if it's related/clears things up.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-05-30. Score: 1
  
  This should be available in 5.51 with this PR by @coleman: <https://github.com/civicrm/civicrm-core/pull/23597>. It works for me for the above criteria.
  
  [![enter image description here](https://i.sstatic.net/ZtDGN.png)](https://i.sstatic.net/ZtDGN.png)
  
  
  ---
  
  