markuso / kleks

Kleks - Pure CouchDB based CMS as a Couch App using Kanso with CoffeeScript and Stylus. Supports multi-site setup and Markdown authoring.

Home Page:http://markuso.github.io/kleks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Renaming the slug of a collection after it has child documents

markuso opened this issue · comments

Because of the way that the collection slug is embed within an document's record, it is hard to rename a collection where the slug needs to be changed too. Each essay that is classified under that collection will need to be visited and the so called collection be selected again as it is considered to be like a new collection with a new slug.

Should either come up with a different way or create a script that goes through the children of a collection to also rename the slugs they are holding of the collection.