eherve / mongoose-datatable

Server side dataTable request support for mongoose
MIT License
42 stars 29 forks source link

Unmanaged condition on field type: ObjectId #48

Closed scherke closed 1 year ago

scherke commented 8 years ago

Hi there,

when i search for path "_id" the type is "ObjectId" but for it doesn't exist a Handler. Is that intentional. I added myself a "objectIdHandler.js", because I want to search for ObjectId, is there any other possibility.

regards

eherve commented 8 years ago

Hi,

Yes there is no ObjectId search handler in the module. Adding it on configuration is the right way to do it, I tag this issue for enhancement for later.

Thanks for using the plugin and for this feedback.

regards

Tavethiya commented 5 years ago

I have same requirement please do as soon as possible.

eherve commented 5 years ago

Hi,

in version 2.0.0 the ObjectId search handler is implemented. You can test it by adding this version to your project : npm install --save git+ssh://git@github.com/eherve/mongoose-datatable.git

I'm finishing some testing before pushing it to npm.

Regards,