Answers.Body: <p>Yes, you can achieve this by using the <a href="https://docs.solspace.com/craft/calendar/v3/template-functions/calendar.events.html#param-search" rel="nofollow noreferrer"><code>search</code> parameter</a> on <code>calendar.events</code> just like you would with regular <a href="https://craftcms.com/docs/3.x/searching.html" rel="nofollow noreferrer">Craft Searching</a>.</p>
  <pre><code>search: &quot;customField:myvalue*&quot;
  </code></pre>
  <p>It might also look something like this in your template:</p>
  <pre><code>{% set eventOptions = {
    rangeStart: 'now',
    rangeEnd: '3 months',
  } %}
  
  {% set events = craft.calendar.events(eventOptions).search(&quot;location:test&quot;) %}
  
  {% for event in events %}
     ...
  {% endfor %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-12-21T15:45:26.960Z
Answers.LastActivityDate: 2020-12-21T15:45:26.960Z
Answers.UserDisplayName: Solspace
Body: <p>My current calendar plugin has filters by category, location and a date selector. Is this all achievable in solspace calendar?</p>
  
Tags: <plugin-solspacecalendar>
Title: Is there a way to filter calendar results by location?
ThreadText: # Is there a way to filter calendar results by location?
  
  (Asked by: username_0 on 2020-12-19)
  
  My current calendar plugin has filters by category, location and a date selector. Is this all achievable in username_1 calendar?
  
  **Tags:** plugin-solspacecalendar
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-12-21. Score: 1
  
  Yes, you can achieve this by using the [`search` parameter](https://docs.username_1.com/craft/calendar/v3/template-functions/calendar.events.html#param-search) on `calendar.events` just like you would with regular [Craft Searching](https://craftcms.com/docs/3.x/searching.html).
  
  ```
  search: "customField:myvalue*"
  
  ```
  
  It might also look something like this in your template:
  
  ```
  {% set eventOptions = {
    rangeStart: 'now',
    rangeEnd: '3 months',
  } %}
  
  {% set events = craft.calendar.events(eventOptions).search("location:test") %}
  
  {% for event in events %}
     ...
  {% endfor %}
  
  ```
  
  
  ---
  
  