Answers.Body: <p>In Advanced Search and Activity Search you can filter by 'Added by'.</p>
  
  <p><a href="https://i.sstatic.net/iD4Hl.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/iD4Hl.png" alt="Activity Search form filtered by &#39;Added by&#39; "></a></p>
  
  <p>Also you can use Search Builder form and filter by 'Activity' with 'Source contact' = ...</p>
  
  <p><a href="https://i.sstatic.net/vkilc.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/vkilc.png" alt="Search builder form filtered by activity with source contact"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-31T18:14:46.350Z
Answers.Text: It returns me way more contacts that are in any way associated / connected with particular **Source Contact** (either if I indicate name or email).
Answers.UserDisplayName: Aivars
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-31T19:07:52.730Z
Answers.Text: Maybe a bug? Anyway I edited answer adding an alternative way but that contradicts the description of the question you do.
Answers.UserDisplayName: Francesc Bassas i Bullich
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-31T19:22:37.170Z
Answers.Text: Aivars - perhaps confirm on one of the demo sites to help confirm if this is a bug.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-01T07:42:43.960Z
Answers.Text: @petednz-fuzion Is it a bug or expected behavior? I updated the initial post to include a quick test on the demo site.
Answers.UserDisplayName: Aivars
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-31T14:04:21.777Z
Answers.LastActivityDate: 2017-05-31T19:04:07.543Z
Answers.LastEditDate: 2017-05-31T19:04:07.543Z
Answers.UserDisplayName: Francesc Bassas i Bullich
Answers.Body: <p>Based on a very quick test Search Builder may give you what you want eg
  <a href="https://i.sstatic.net/nXeMI.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/nXeMI.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-02T04:17:11.720Z
Answers.Text: oh i see my answer is same as Francesc - maybe grab my image and put in his answer?
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-04T07:25:56.453Z
Answers.Text: On CiviHosting demo site (https://civicrm.demo.civihosting.com/civicrm) I open **Search Builder**. I setup the search like in your screenshot, only the Source Contact ID is **38** (i.e., **Adams, Errol**). It returns me a list of different contacts like Adams, Kenny / Adams, Rolando and so on. When I click on these contacts, I can't find any reference whatsoever about Activities connected with **Errol** (Source Contact ID=38).
  
  **Is it a bug?**
Answers.UserDisplayName: Aivars
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-05T20:10:58.060Z
Answers.Text: I concur that using Search Builder and Source Contact ID is not giving the expected result
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-01T21:34:15.603Z
Answers.LastActivityDate: 2017-06-01T21:34:15.603Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I am trying to create a smart group for contacts that have <strong>activity</strong> added by specific person.</p>
  
  <p><strong>Advanced search</strong> allows me to search either
  (1) for contacts based on some activity;
  (2) for activities based on <strong>who</strong> has added the activity.</p>
  
  <p>But unfortunately not for contacts based on who has added the activity.</p>
  
  <p><strong>UPDATE:</strong> (Tested on CiviHosting demo site.)</p>
  
  <p>Advanced search parameters:</p>
  
  <ul>
  <li><p>Display Results As: <strong>Contacts</strong> </p></li>
  <li><p>Basic Criteria - Complete or Partial Name: <strong>Errol</strong></p></li>
  <li><p>Activities: <strong>(*) Added by</strong></p></li>
  </ul>
  
  <p><strong>RESULT:</strong> Search returns <strong>Errol</strong> as the only result, not all contacts whose activities have been added <strong>by Errol</strong>.</p>
  
  <p><a href="https://i.sstatic.net/5G4Hk.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/5G4Hk.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-01T08:03:46.913Z
Comments.Text: Seems that in Advanced Search isn't possible to get it. Maybe a bug or an incomplete development? I suspect that the added by filter applies to nothing. But if you try the search as I suggest on https://civicrm.stackexchange.com/a/18863/104 with Activity Search the filter can be applied correctly.
Comments.UserDisplayName: Francesc Bassas i Bullich
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-01T15:35:30.203Z
Comments.Text: @FrancescBassasiBullich Not really, Search Builder returns a lot of false positives.
Comments.UserDisplayName: Aivars
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-01T16:03:56.880Z
Comments.Text: I'm not refering to Search Builder. Take a look at **Search > Activity Search**
Comments.UserDisplayName: Francesc Bassas i Bullich
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-01T17:03:26.473Z
Comments.Text: Indeed, Activity Search produces correct search results. However, this search can't be saved as a **Smart Group**. Is it a bug that this functionality does not work in Advanced Search?
Comments.UserDisplayName: Aivars
Tags: <activities><search><issues>
Title: Can I search for contacts with activity added by specific person?
ThreadText: # Can I search for contacts with activity added by specific person?
  
  (Asked by: username_0 on 2017-05-31)
  
  I am trying to create a smart group for contacts that have **activity** added by specific person.
  
  **Advanced search** allows me to search either
  (1) for contacts based on some activity;
  (2) for activities based on **who** has added the activity.
  
  But unfortunately not for contacts based on who has added the activity.
  
  **UPDATE:** (Tested on CiviHosting demo site.)
  
  Advanced search parameters:
  
  * Display Results As: **Contacts**
  * Basic Criteria - Complete or Partial Name: **Errol**
  * Activities: **(\*) Added by**
  
  **RESULT:** Search returns **Errol** as the only result, not all contacts whose activities have been added **by Errol**.
  
  [![enter image description here](https://i.sstatic.net/5G4Hk.png)](https://i.sstatic.net/5G4Hk.png)
  
  **Tags:** activities, search, issues
  
  > **Comments:**
  > **username_1**: Seems that in Advanced Search isn't possible to get it. Maybe a bug or an incomplete development? I suspect that the added by filter applies to nothing. But if you try the search as I suggest on https://civicrm.stackexchange.com/a/18863/104 with Activity Search the filter can be applied correctly.  
  > **username_0**: @username_1 Not really, Search Builder returns a lot of false positives.  
  > **username_1**: I'm not refering to Search Builder. Take a look at **Search > Activity Search**  
  > **username_0**: Indeed, Activity Search produces correct search results. However, this search can't be saved as a **Smart Group**. Is it a bug that this functionality does not work in Advanced Search?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-05-31. Score: 2
  
  In Advanced Search and Activity Search you can filter by 'Added by'.
  
  [![Activity Search form filtered by 'Added by' ](https://i.sstatic.net/iD4Hl.png)](https://i.sstatic.net/iD4Hl.png)
  
  Also you can use Search Builder form and filter by 'Activity' with 'Source contact' = ...
  
  [![Search builder form filtered by activity with source contact](https://i.sstatic.net/vkilc.png)](https://i.sstatic.net/vkilc.png)
  
  > **Comments:**
  > **username_0**: It returns me way more contacts that are in any way associated / connected with particular **Source Contact** (either if I indicate name or email).  
  > **username_1**: Maybe a bug? Anyway I edited answer adding an alternative way but that contradicts the description of the question you do.  
  > **username_2**: username_0 - perhaps confirm on one of the demo sites to help confirm if this is a bug.  
  > **username_0**: @username_2 Is it a bug or expected behavior? I updated the initial post to include a quick test on the demo site.  
  
  ---
  
  ### Answer by username_2 on 2017-06-01. Score: 1
  
  Based on a very quick test Search Builder may give you what you want eg
  [![enter image description here](https://i.sstatic.net/nXeMI.png)](https://i.sstatic.net/nXeMI.png)
  
  > **Comments:**
  > **username_2**: oh i see my answer is same as username_1 - maybe grab my image and put in his answer?  
  > **username_0**: On CiviHosting demo site (https://civicrm.demo.civihosting.com/civicrm) I open **Search Builder**. I setup the search like in your screenshot, only the Source Contact ID is **38** (i.e., **Adams, Errol**). It returns me a list of different contacts like Adams, Kenny / Adams, Rolando and so on. When I click on these contacts, I can't find any reference whatsoever about Activities connected with **Errol** (Source Contact ID=38).  **Is it a bug?**  
  > **username_2**: I concur that using Search Builder and Source Contact ID is not giving the expected result  
  
  ---
  
  