Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to search deals (or whatever) by tag? #29

Open
Nowaker opened this issue Jan 11, 2016 · 1 comment
Open

How to search deals (or whatever) by tag? #29

Nowaker opened this issue Jan 11, 2016 · 1 comment

Comments

@Nowaker
Copy link

Nowaker commented Jan 11, 2016

I tried to come up with a field name for a tag, and tried many options, e.g.:

base.deals.where(contact_id: contact.id, tag_list: 'vk-onboarding')
base.deals.where(contact_id: contact.id, tag: 'vk-onboarding')
base.deals.where(contact_id: contact.id, tags: 'vk-onboarding')
base.deals.where(contact_id: contact.id, tags: ['vk-onboarding'])
base.deals.where(contact_id: contact.id, tags: ['vk-onboarding'])
base.deals.where(contact_id: contact.id, tag_id: 1)
base.deals.where(contact_id: contact.id, tag_ids: 1)

None of this works. How to search by tag?

@iaintshine
Copy link
Contributor

Hi @Nowaker,

Currently you can't. All the supported filters are listed on https://developers.getbase.com/docs/rest/reference/deals page. Potentially as a short term solution, you might want to use custom fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants