CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Problem searching by tag in Search Builder
Pages: [1]

Author Topic: Problem searching by tag in Search Builder  (Read 1236 times)

outinsun

  • Guest
Problem searching by tag in Search Builder
September 22, 2008, 12:14:05 pm
If I do a basic "Find Contacts" search to find Individuals in any group where tag is "foo" I get 3 contacts. If I construct a Search Builder query where record type is Individuals, search field is Tag(s), operator is IN, and tag ID is 1, I get nothing. I've tried various options for the operator, and various values for tag ID. When I look up the tags in the Categories administration screen, tag ID's are not displayed, so I'm guessing what the proper values should be. I also tried just entering "foo" for the value but got an "invalid tag id" error.

I'm hoping to be able to use the Search Builder as a way to AND multiple tags together (the advanced search by tag OR's multiple selections).

outinsun

  • Guest
Re: Problem searching by tag in Search Builder
September 22, 2008, 02:40:29 pm
Quote from: outinsun on September 22, 2008, 12:14:05 pm
If I do a basic "Find Contacts" search to find Individuals in any group where tag is "foo" I get 3 contacts. If I construct a Search Builder query where record type is Individuals, search field is Tag(s), operator is IN, and tag ID is 1, I get nothing. I've tried various options for the operator, and various values for tag ID. When I look up the tags in the Categories administration screen, tag ID's are not displayed, so I'm guessing what the proper values should be. I also tried just entering "foo" for the value but got an "invalid tag id" error.

I'm hoping to be able to use the Search Builder as a way to AND multiple tags together (the advanced search by tag OR's multiple selections).
Never mind. I figured out how to find the tag id (it was 6 in this case, I'd tried 1-3). All works now. Would be great if the tag admin screen showed tag id's the way the group admin screen shows group id's.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Problem searching by tag in Search Builder
September 22, 2008, 03:51:18 pm
Quote from: outinsun on September 22, 2008, 02:40:29 pm
Would be great if the tag admin screen showed tag id's the way the group admin screen shows group id's.

Good suggestion, easy fix. Will be part of next 2.1 distribution:

http://issues.civicrm.org/jira/browse/CRM-3590
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Problem searching by tag in Search Builder

This forum was archived on 2017-11-26.