title: Query Date Ranges Within a Range but special case
body: <p>I'm really struggling to logically think of things with date ranges.</p>
  
  <p>For example:</p>
  
  <p>If <strong>Event A</strong> is the 9th - 15th and then the user searches 10th - 13th then at the moment I’ve got it returning all the events that start from the 10th until the 13th as that is what the user searched. </p>
  
  <p>But because <strong>Event A</strong> is from the 9th - 15th it won't show on that search but I would like it to show because it's still within the range of the 9th - 15th.</p>
  
  <p>I hope that makes sense. </p>
  
  <p>Any help is appreciated.</p>
  
  <p><a href="https://i.stack.imgur.com/GWmqT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GWmqT.png" alt="enter image description here"></a></p>