mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
closes #1612
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
This commit is contained in:
@@ -29,7 +29,7 @@ module.exports = function(Topics) {
|
||||
if (Array.isArray(postData) && !postData.length) {
|
||||
return callback(null, []);
|
||||
}
|
||||
|
||||
start = parseInt(start, 10);
|
||||
for(var i=0; i<postData.length; ++i) {
|
||||
postData[i].index = start + i;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user