mongoose-datatable icon indicating copy to clipboard operation
mongoose-datatable copied to clipboard

Unmanaged condition on field type: ObjectId

Open scherke opened this issue 8 years ago • 3 comments

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

scherke avatar Apr 15 '16 10:04 scherke

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

eherve avatar Apr 15 '16 13:04 eherve

I have same requirement please do as soon as possible.

Tavethiya avatar Mar 06 '19 06:03 Tavethiya

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://[email protected]/eherve/mongoose-datatable.git

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

Regards,

eherve avatar Mar 06 '19 14:03 eherve