Closed phillee closed 9 years ago
Also, when index_sparse is set to true, when the slug is an empty string we don't set it.
Fixed this with a recursive call to ensureUniqueSlug, pull request: https://github.com/mindblaze/mongoose-url-slugs/pull/4
I have done this another way, can you check this in the latest version.
Also, when index_sparse is set to true, when the slug is an empty string we don't set it.