Answers.Body: <p>This is a bug and has been reported <a href="https://issues.civicrm.org/jira/browse/CRM-19706" rel="nofollow noreferrer">here</a> </p>
  
  <p>Note, it closely resembles other issues affecting 'Edit Smart Criteria' eg </p>
  
  <ul>
  <li><a href="https://issues.civicrm.org/jira/browse/CRM-19705" rel="nofollow noreferrer">Tags</a> (affects only 4.6.x but not 4.7.x) and </li>
  <li><a href="https://issues.civicrm.org/jira/browse/CRM-19624" rel="nofollow noreferrer">Privacy Radio Buttons</a> (affects 4.6.x and 4.7.x)</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-01T18:32:20.533Z
Answers.LastActivityDate: 2016-12-01T18:32:20.533Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>Is it a bug that in <em>Advanced Search</em> section <em>Activities</em> the <strong>Activity Statuses</strong> get filled automatically with <strong>Completed</strong> and <strong>Scheduled</strong>.</p>
  
  <p>It happens when:</p>
  
  <ol>
  <li>I open Activities section when doing <strong>Advanced Search</strong>;</li>
  <li>I try edit Activities section of previously configured <strong>Smart group</strong>.</li>
  </ol>
  
  <p>In (2) scenario, the previously set Activity Statuses are lost and replaced by these Completed and Scheduled, thus annoyingly disrupting the group settings which need to be manually redone.</p>
  
  <p>The bug is present in CiviCRM Drupal sandbox v4.7.15.</p>
  
  <p>Is there a bug report filled for this already?</p>
  
  <p><strong>Screenshot:</strong>
  <a href="https://i.sstatic.net/T3dRH.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/T3dRH.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-11-24T20:26:54.527Z
Comments.Text: So are you saying that your Saved Search does not included Completed + Scheduled but when you go back to 'edit criteria' they are being added automatically and hence if you were simply trying to edit another aspect of the Saved Search then this could get added unintentionally? If so, yes I would say it is a bug. I can't answer if a bug report already exists but didn't spot it via https://issues.civicrm.org/jira/browse/CRM-19624?jql=text%20~%20%22saved%20search%22%20ORDER%20BY%20created%20DESC
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-11-24T22:29:04.510Z
Comments.Text: wondering if there is more going on with broken 'Saved Searches' since I also spotted that 'edit criteria' for one of mine was resulting in the wrong tag (tag id = 1) showing on the screen rather than the one recorded in the db. also saw this https://issues.civicrm.org/jira/browse/CRM-19624
Comments.UserDisplayName: petednz - fuzion
Tags: <activities><search><issues>
Title: Why is Activity statuses Scheduled and Completed added?
ThreadText: # Why is Activity statuses Scheduled and Completed added?
  
  (Asked by: username_0 on 2016-11-24)
  
  Is it a bug that in *Advanced Search* section *Activities* the **Activity Statuses** get filled automatically with **Completed** and **Scheduled**.
  
  It happens when:
  
  1. I open Activities section when doing **Advanced Search**;
  2. I try edit Activities section of previously configured **Smart group**.
  
  In (2) scenario, the previously set Activity Statuses are lost and replaced by these Completed and Scheduled, thus annoyingly disrupting the group settings which need to be manually redone.
  
  The bug is present in CiviCRM Drupal sandbox v4.7.15.
  
  Is there a bug report filled for this already?
  
  **Screenshot:**
  [![enter image description here](https://i.sstatic.net/T3dRH.png)](https://i.sstatic.net/T3dRH.png)
  
  **Tags:** activities, search, issues
  
  > **Comments:**
  > **username_1**: So are you saying that your Saved Search does not included Completed + Scheduled but when you go back to 'edit criteria' they are being added automatically and hence if you were simply trying to edit another aspect of the Saved Search then this could get added unintentionally? If so, yes I would say it is a bug. I can't answer if a bug report already exists but didn't spot it via https://issues.civicrm.org/jira/browse/CRM-19624?jql=text%20~%20%22saved%20search%22%20ORDER%20BY%20created%20DESC  
  > **username_1**: wondering if there is more going on with broken 'Saved Searches' since I also spotted that 'edit criteria' for one of mine was resulting in the wrong tag (tag id = 1) showing on the screen rather than the one recorded in the db. also saw this https://issues.civicrm.org/jira/browse/CRM-19624  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-12-01. Score: 1
  
  This is a bug and has been reported [here](https://issues.civicrm.org/jira/browse/CRM-19706)
  
  Note, it closely resembles other issues affecting 'Edit Smart Criteria' eg
  
  * [Tags](https://issues.civicrm.org/jira/browse/CRM-19705) (affects only 4.6.x but not 4.7.x) and
  * [Privacy Radio Buttons](https://issues.civicrm.org/jira/browse/CRM-19624) (affects 4.6.x and 4.7.x)
  
  
  ---
  
  