mongoose-datatable
mongoose-datatable copied to clipboard
Unmanaged condition on field type: ObjectId
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
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
I have same requirement please do as soon as possible.
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,