Answers.Body: <p>Submitted the PR <a href="https://github.com/civicrm/civicrm-core/pull/6911" rel="nofollow">https://github.com/civicrm/civicrm-core/pull/6911</a>. </p>
  
  <p>The issue was occuring due to the recent change made in Search form as per which field(s) will have entity info in their name (membership_)status_id (also for uniqueness) rather then status_id which raises ambuiguity when we process the param for building whereClause because there are other table that can share same column name e.g. contribution.status_id. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-08T10:14:32.710Z
Answers.LastActivityDate: 2015-10-08T10:14:32.710Z
Answers.UserDisplayName: Monish Deb
Answers.Body: <p>The url is /civicrm/member/search?reset=1&amp;force=1&amp;status=1,2,3&amp;type=1&amp;owner=1</p>
  
  <p>which suggests the results should filter by Status and Primary but the Status filters are not applied on the search, hence you see 'all' results, rather than just the New, Current and Grace.</p>
  
  <p>Have added a <a href="https://issues.civicrm.org/jira/browse/CRM-17353" rel="nofollow">Jira issue</a> for this bug and hope to provide patch at some point.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-08T01:20:30.293Z
Answers.Text: For some of the links, some of the filters work eg
  
  civicrm/member/search?reset=1&force=1&status=1,2,3&type=1&owner=1
  
  does give
  
  Membership Type(s) In General ...AND...
  Primary Members Only
  
  but Status is not working. I tested with just a single Status and no commas but no improvement
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-08T01:12:25.950Z
Answers.LastActivityDate: 2015-10-08T01:20:58.407Z
Answers.LastEditDate: 2015-10-08T01:20:58.407Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>On Membership dashboard you can click on numbers in right column to 'see details' but the number of results is different to that on the dashboard.</p>
  
  <p>This may also affect other Dashboard click-throughs such as on Events.</p>
  
Tags: <civimember>
Title: Why does the link from Membership Dashboard give a search with the wrong results
ThreadText: # Why does the link from Membership Dashboard give a search with the wrong results
  
  (Asked by: username_0 on 2015-10-08)
  
  On Membership dashboard you can click on numbers in right column to 'see details' but the number of results is different to that on the dashboard.
  
  This may also affect other Dashboard click-throughs such as on Events.
  
  **Tags:** civimember
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-10-08. Score: 1 | Accepted answer
  
  Submitted the PR <https://github.com/civicrm/civicrm-core/pull/6911>.
  
  The issue was occuring due to the recent change made in Search form as per which field(s) will have entity info in their name (membership\_)status\_id (also for uniqueness) rather then status\_id which raises ambuiguity when we process the param for building whereClause because there are other table that can share same column name e.g. contribution.status\_id.
  
  
  ---
  
  ### Answer by username_0 on 2015-10-08. Score: 1
  
  The url is /civicrm/member/search?reset=1&force=1&status=1,2,3&type=1&owner=1
  
  which suggests the results should filter by Status and Primary but the Status filters are not applied on the search, hence you see 'all' results, rather than just the New, Current and Grace.
  
  Have added a [Jira issue](https://issues.civicrm.org/jira/browse/CRM-17353) for this bug and hope to provide patch at some point.
  
  > **Comments:**
  > **username_0**: For some of the links, some of the filters work eg  civicrm/member/search?reset=1&force=1&status=1,2,3&type=1&owner=1  does give  Membership Type(s) In General ...AND... Primary Members Only  but Status is not working. I tested with just a single Status and no commas but no improvement  
  
  ---
  
  