Closed Bug 870155 Opened 11 years ago Closed 11 years ago

Can I do a search for project by contentType

Categories

(Webmaker Graveyard :: MakeAPI, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: thecount, Unassigned)

Details

This is to create a by project dashboard.

I am not seeing this, and I need to be able to do it.

It also needs to be able to search by content type and email, so it needs to work for both at a time, not just only contentType.

Would be nice if I could search by anything, really. Why can't we do this? If it exists as a property, there should be a search for it, or be able to seach for it via find.

I may be doing something wrong, though.

Looking at the api file, I didn't see a search for content type, and I tried this:

make.find({contentType: data.contentType}).email(data.email).limit(100).then(callback);
searching by contentType is supported as of at least v0.1.16
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.