Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
webapp
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomas Vik
webapp
Commits
33ede12d
Commit
33ede12d
authored
Oct 14, 2016
by
Andy Trevorah
Committed by
Andrew Newdigate
Jun 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed undefined slugs in topic emails. closes #2372
parent
4fd05dad
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
modules/topic-serialization/lib/notifications/aggregated-comment-strategy.js
...lization/lib/notifications/aggregated-comment-strategy.js
+1
-1
modules/topic-serialization/lib/notifications/aggregated-reply-strategy.js
...ialization/lib/notifications/aggregated-reply-strategy.js
+1
-1
modules/topic-serialization/test/aggregated-comment-strategy-test.js
...ic-serialization/test/aggregated-comment-strategy-test.js
+1
-1
modules/topic-serialization/test/aggregated-reply-stategy-test.js
...topic-serialization/test/aggregated-reply-stategy-test.js
+1
-1
No files found.
modules/topic-serialization/lib/notifications/aggregated-comment-strategy.js
View file @
33ede12d
...
...
@@ -21,7 +21,7 @@ AggregatedCommentStrategy.prototype = {
editedAt
:
reply
.
editedAt
,
// TODO: permalink?
uri
:
owningForum
.
uri
+
'
/topic/
'
+
owningTopicId
+
'
/
'
+
reply
.
slug
uri
:
owningForum
.
uri
+
'
/topic/
'
+
owningTopicId
+
'
/
'
+
owningTopic
.
slug
};
},
...
...
modules/topic-serialization/lib/notifications/aggregated-reply-strategy.js
View file @
33ede12d
...
...
@@ -26,7 +26,7 @@ AggregatedReplyStrategy.prototype = {
lastModified
:
reply
.
lastModified
,
// TODO: permalink?
uri
:
owningForum
.
uri
+
'
/topic/
'
+
owningTopicId
+
'
/
'
+
reply
.
slug
uri
:
owningForum
.
uri
+
'
/topic/
'
+
owningTopicId
+
'
/
'
+
owningTopic
.
slug
};
},
...
...
modules/topic-serialization/test/aggregated-comment-strategy-test.js
View file @
33ede12d
...
...
@@ -54,7 +54,7 @@ describe('aggregated-comment-strategy', function() {
body
:
{},
sent
:
"
2014-02-01T00:00:00.000Z
"
,
editedAt
:
null
,
uri
:
forum
.
uri
+
"
/topic/
"
+
topic
.
_id
+
"
/
undefined
"
uri
:
forum
.
uri
+
"
/topic/
"
+
topic
.
_id
+
"
/
"
+
topic
.
slug
});
});
...
...
modules/topic-serialization/test/aggregated-reply-stategy-test.js
View file @
33ede12d
...
...
@@ -49,7 +49,7 @@ describe('aggregated-reply-strategy', function() {
editedAt
:
null
,
lastChanged
:
"
2014-02-01T00:00:00.000Z
"
,
lastModified
:
"
2014-02-01T00:00:00.000Z
"
,
uri
:
forum
.
uri
+
"
/topic/
"
+
topic
.
_id
+
"
/
undefined
"
uri
:
forum
.
uri
+
"
/topic/
"
+
topic
.
_id
+
"
/
"
+
topic
.
slug
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment