Answers.Body: <p>I don't think it helps with passing the filters in the URL, but you can save the search as a Smart Group and then use the link to the contact list for that group. I think you can strip of the qfkey portion of the URL in this case. Something like this (although this smart group on the demo site will be deleted shortly, the URL structure is what I want to show):</p>
  
  <p><a href="http://d46.demo.civicrm.org/civicrm/contact/search/advanced?force=1&amp;reset=1&amp;ssID=1&amp;context=advanced">http://d46.demo.civicrm.org/civicrm/contact/search/advanced?force=1&amp;reset=1&amp;ssID=1&amp;context=advanced</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-27T06:32:01.960Z
Answers.Text: Thanks laryn ! I tried "Smart Groups" but I am facing an issue here too. Smart groups provide a static saved search results page I am not able to provide it any filters , suppose i want the results within a specific date range, then how is it possible ??
Answers.UserDisplayName: Mayank
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-27T13:03:52.707Z
Answers.Text: I'm not sure what kind of dates you are searching on, but (for example)  you can search on birthdates for "Last three years" and the results will update each time cron is run (assuming you have enabled the "Rebuild Smart Group Cache" Scheduled Job and it is firing correctly). So they aren't static results.
Answers.UserDisplayName: Laryn
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-28T07:34:10.963Z
Answers.Text: Ok I dont think "smart groups" will work for us then because we have build a custom report and we want to link for example : the activity search results page to our report based on the date ranges selected for the report.
Answers.UserDisplayName: Mayank
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-26T14:35:20.087Z
Answers.LastActivityDate: 2015-05-26T14:35:20.087Z
Answers.UserDisplayName: Laryn
Answers.Body: <p>CiviCRM search pages don't accept filters from the url, but Drupal Views can. If you are using Drupal as your CMS, try that.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-29T01:45:01.793Z
Answers.LastActivityDate: 2015-05-29T01:45:01.793Z
Answers.UserDisplayName: Coleman
Answers.Body: <p>I wanted to leave a comment here because I came across this post looking for a this answer, and it may help someone else. (So this is probably only helpful to you as a clue, rather than as a complete answer to your question -- I'm not sure what types of queries you're trying to save.)</p>
  
  <p>I was trying to do something similar with saving the URL of an advanced search to my navigation. My goal was to display results as Memberships (rather than the default contacts) and filtering by contacts in a certain group. (backstory: I needed to display as Memberships so I could export a file [using a saved field mapping] for printing membership cards, and I couldn't access membership info when exporting the contact only.)</p>
  
  <p>This is the url that ended up working (not using qfKey! -- <strong>it works in different sessions</strong>):</p>
  
  <pre><code>[myurl]/administrator/?option=com_civicrm&amp;task=civicrm/contact/search/advanced&amp;option=com_civicrm&amp;_qf_Advanced_display=true&amp;component_mode=5&amp;gid=41&amp;force=1
  </code></pre>
  
  <p>(After clicking the link, it will append the qfKey to the url, but whatever.)</p>
  
  <p>I'll try to break it down, but I don't necessarily know the full extent of these options.</p>
  
  <p><code>component_mode=[#]</code> is the "display results as" in the search criteria. 5 is Memberships, so that's what I'm using. Here is the inspect elements from my search form (caveat: I have some components disabled; this may change in future versions; etc. so... double check this):</p>
  
  <pre><code>&lt;select class="crm-select2 crm-form-select" name="component_mode" id="component_mode" tabindex="-1" title="Display Results As" style="display: none;"&gt;
      &lt;option value="1"&gt;Contacts&lt;/option&gt;
      &lt;option value="2"&gt;Contributions&lt;/option&gt;
      &lt;option value="4"&gt;Activities&lt;/option&gt;
      &lt;option value="5" selected="selected"&gt;Memberships&lt;/option&gt;
      &lt;option value="6"&gt;Cases&lt;/option&gt;
      &lt;option value="7"&gt;Related Contacts&lt;/option&gt;
  </code></pre>
  
  <p></p>
  
  <p><code>gid=[#]</code> is the group id that I'm filtering by. I'm not sure what that looks like if you're tying to filter with multiple groups.</p>
  
  <p><code>force=1</code> seems to display results, rather than the search criteria</p>
  
  <p>For other search parameters, you basically just have to dig around in the html using inspect element, and find the name/id of the filter you want to use, and then append that to the end of the url. (As far as I can tell, this works for other filters, but obviously my testing was not extensive.)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-14T06:07:14.747Z
Answers.LastActivityDate: 2017-04-14T06:07:14.747Z
Answers.UserDisplayName: Delaney
Answers.Body: <p>Not sure if i understand the OP correctly but we provided a PR so that relative dates would be stored correctly but hasn't been accepted yet <a href="https://issues.civicrm.org/jira/browse/CRM-19675" rel="nofollow noreferrer">https://issues.civicrm.org/jira/browse/CRM-19675</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-14T07:09:20.653Z
Answers.LastActivityDate: 2017-04-14T07:09:20.653Z
Answers.UserDisplayName: petednz - fuzion
Answers.Body: <p>I have the same problem (and no answer) in a different (?) context : I want to follow event participants to regularize those who pay by check.</p>
  
  <p>To do this I make a search based on event and participant role, then I go to partcicpant "modify" to register their payment and update their status.</p>
  
  <p>My organisation can have a lot of different events, each with different managers : I want to pre-customize the search for each event, to ease the manager work and avoid errors.</p>
  
  <p>I don't really know Views, but I don't think it could help, because I need the ability to "modify" each individual participant.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-01T19:46:53.013Z
Answers.Text: not sure your 'answer' will count as an 'answer' rather than a 'i am having this problem too' - but to try and answer your ... answer ... using Views along with VBO and civicrm entity (and possibly another module which i can dig out if needed) you can use Views to then individually or bulk update certain civicrm information.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-02T07:35:41.473Z
Answers.Text: Thank you Pete. I agree it is not an answer. I have to dig into Views, that I never used.
Answers.UserDisplayName: Jacques-Marie Moranne
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-01T15:15:09.480Z
Answers.LastActivityDate: 2017-04-01T15:15:09.480Z
Answers.UserDisplayName: Jacques-Marie Moranne
Body: <p>How can I save the Civicrm search results page URL to link to it directly later from any account. At present the link we get is based on the qkey that does not work once we logout and login later.</p>
  
  <p>We want a URL that takes us directly to search result page &amp; we should be able to pass filters also in the URL like date range etc.</p>
  
Tags: <search>
Title: Civicrm search results page URL
ThreadText: # Civicrm search results page URL
  
  (Asked by: username_0 on 2015-05-26)
  
  How can I save the Civicrm search results page URL to link to it directly later from any account. At present the link we get is based on the qkey that does not work once we logout and login later.
  
  We want a URL that takes us directly to search result page & we should be able to pass filters also in the URL like date range etc.
  
  **Tags:** search
  
  
  ---
  
  ## 5 answers
  
  ### Answer by username_1 on 2015-05-26. Score: 7
  
  I don't think it helps with passing the filters in the URL, but you can save the search as a Smart Group and then use the link to the contact list for that group. I think you can strip of the qfkey portion of the URL in this case. Something like this (although this smart group on the demo site will be deleted shortly, the URL structure is what I want to show):
  
  <http://d46.demo.civicrm.org/civicrm/contact/search/advanced?force=1&reset=1&ssID=1&context=advanced>
  
  > **Comments:**
  > **username_0**: Thanks laryn ! I tried "Smart Groups" but I am facing an issue here too. Smart groups provide a static saved search results page I am not able to provide it any filters , suppose i want the results within a specific date range, then how is it possible ??  
  > **username_1**: I'm not sure what kind of dates you are searching on, but (for example)  you can search on birthdates for "Last three years" and the results will update each time cron is run (assuming you have enabled the "Rebuild Smart Group Cache" Scheduled Job and it is firing correctly). So they aren't static results.  
  > **username_0**: Ok I dont think "smart groups" will work for us then because we have build a custom report and we want to link for example : the activity search results page to our report based on the date ranges selected for the report.  
  
  ---
  
  ### Answer by username_2 on 2015-05-29. Score: 5
  
  CiviCRM search pages don't accept filters from the url, but Drupal Views can. If you are using Drupal as your CMS, try that.
  
  
  ---
  
  ### Answer by username_3 on 2017-04-14. Score: 4
  
  I wanted to leave a comment here because I came across this post looking for a this answer, and it may help someone else. (So this is probably only helpful to you as a clue, rather than as a complete answer to your question -- I'm not sure what types of queries you're trying to save.)
  I was trying to do something similar with saving the URL of an advanced search to my navigation. My goal was to display results as Memberships (rather than the default contacts) and filtering by contacts in a certain group. (backstory: I needed to display as Memberships so I could export a file [using a saved field mapping] for printing membership cards, and I couldn't access membership info when exporting the contact only.)
  This is the url that ended up working (not using qfKey! -- it works in different sessions):
  [myurl]/administrator/?option=com_civicrm&task=civicrm/contact/search/advanced&option=com_civicrm&_qf_Advanced_display=true&component_mode=5&gid=41&force=1
  
  (After clicking the link, it will append the qfKey to the url, but whatever.)
  I'll try to break it down, but I don't necessarily know the full extent of these options.
  component_mode=[#] is the "display results as" in the search criteria. 5 is Memberships, so that's what I'm using. Here is the inspect elements from my search form (caveat: I have some components disabled; this may change in future versions; etc. so... double check this):
  
      Contacts
      Contributions
      Activities
      Memberships
      Cases
      Related Contacts
  
  
  gid=[#] is the group id that I'm filtering by. I'm not sure what that looks like if you're tying to filter with multiple groups.
  force=1 seems to display results, rather than the search criteria
  For other search parameters, you basically just have to dig around in the html using inspect element, and find the name/id of the filter you want to use, and then append that to the end of the url. (As far as I can tell, this works for other filters, but obviously my testing was not extensive.)
  
  
  ---
  
  ### Answer by username_4 on 2017-04-14. Score: 0
  
  Not sure if i understand the OP correctly but we provided a PR so that relative dates would be stored correctly but hasn't been accepted yet <https://issues.civicrm.org/jira/browse/CRM-19675>
  
  
  ---
  
  ### Answer by username_5 on 2017-04-01. Score: -1
  
  I have the same problem (and no answer) in a different (?) context : I want to follow event participants to regularize those who pay by check.
  
  To do this I make a search based on event and participant role, then I go to partcicpant "modify" to register their payment and update their status.
  
  My organisation can have a lot of different events, each with different managers : I want to pre-customize the search for each event, to ease the manager work and avoid errors.
  
  I don't really know Views, but I don't think it could help, because I need the ability to "modify" each individual participant.
  
  > **Comments:**
  > **username_4**: not sure your 'answer' will count as an 'answer' rather than a 'i am having this problem too' - but to try and answer your ... answer ... using Views along with VBO and civicrm entity (and possibly another module which i can dig out if needed) you can use Views to then individually or bulk update certain civicrm information.  
  > **username_5**: Thank you Pete. I agree it is not an answer. I have to dig into Views, that I never used.  
  
  ---
  
  