Changes
no edit summary
function CategoryTree:create(data)
function CategoryTree:create(data)
data = data or {}
data = data or {}
data._category = data.category
data.mode = data.mode or "pages"
data.depth = data.depth or "0"
data._depth = data.depth or "0"
data.__tostring = self._tostring
data.__tostring = self._tostring
return self.__index.create(self, data)
return self.__index.create(self, data)