Answers.Body: <p>Well as per my recent fixes in Search Builder, atleast I have changed the column Title to clarify whether a element expects a string value or int. Like in this particular case you will have Activity Type( expects string value as 'Label') and Activity Type ID(integer value as activity_type_id), but that fix was partial. So the error is occurring due to faulty select element which you used to select value against '=' operator as it is in ('id' => 'label') format and the expected format would be ('label' => 'label'). And the underlying fix it needs will be major.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-21T14:02:53.183Z
Answers.LastActivityDate: 2015-10-21T14:02:53.183Z
Answers.UserDisplayName: Monish Deb
Answers.Body: <p>I was able to reproduce the behavior; it seems like a bug, can you post a bug report here:  <a href="https://issues.civicrm.org/jira/browse/CRM/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel" rel="nofollow">https://issues.civicrm.org/jira/browse/CRM/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-21T12:03:52.360Z
Answers.Text: Thanks, it certainly looks like one. I was just surprised no one noticed this before us. I'll report the bug asap.
Answers.UserDisplayName: tosca
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-20T20:40:02.033Z
Answers.LastActivityDate: 2015-10-20T20:40:02.033Z
Answers.UserDisplayName: pkeogan - BackOffice Thinking
Body: <p>One of our users reported a strange phenomenon when using search builder. I recreated this on the demo site. </p>
  
  <p>When searching for activity type = Meeting I don't get results:</p>
  
  <p><a href="https://i.sstatic.net/fujMr.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/fujMr.png" alt="Search Builder doesnt work with ="></a></p>
  
  <p>When searching for activity type like "Meeting" I get (correct) results:
  <a href="https://i.sstatic.net/nCr1v.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/nCr1v.png" alt="Search builder works with like"></a></p>
  
  <p>I have similar problems with activity status. Using 'like' works in some cases, but I can't use '=' or 'in'. </p>
  
  <p>Can anyone reproduce this behaviour? </p>
  
Tags: <search-results><search-builder>
Title: Strange behaviour with activity type in search builder
ThreadText: # Strange behaviour with activity type in search builder
  
  (Asked by: username_0 on 2015-10-20)
  
  One of our users reported a strange phenomenon when using search builder. I recreated this on the demo site.
  
  When searching for activity type = Meeting I don't get results:
  
  [![Search Builder doesnt work with =](https://i.sstatic.net/fujMr.png)](https://i.sstatic.net/fujMr.png)
  
  When searching for activity type like "Meeting" I get (correct) results:
  [![Search builder works with like](https://i.sstatic.net/nCr1v.png)](https://i.sstatic.net/nCr1v.png)
  
  I have similar problems with activity status. Using 'like' works in some cases, but I can't use '=' or 'in'.
  
  Can anyone reproduce this behaviour?
  
  **Tags:** search-results, search-builder
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-10-21. Score: 1
  
  Well as per my recent fixes in Search Builder, atleast I have changed the column Title to clarify whether a element expects a string value or int. Like in this particular case you will have Activity Type( expects string value as 'Label') and Activity Type ID(integer value as activity\_type\_id), but that fix was partial. So the error is occurring due to faulty select element which you used to select value against '=' operator as it is in ('id' => 'label') format and the expected format would be ('label' => 'label'). And the underlying fix it needs will be major.
  
  
  ---
  
  ### Answer by username_2 on 2015-10-20. Score: 1
  
  I was able to reproduce the behavior; it seems like a bug, can you post a bug report here: <https://issues.civicrm.org/jira/browse/CRM/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel>
  
  > **Comments:**
  > **username_0**: Thanks, it certainly looks like one. I was just surprised no one noticed this before us. I'll report the bug asap.  
  
  ---
  
  