summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Comment.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-07-28 19:37:17 +0200
committerGitHub <noreply@github.com>2017-07-28 19:37:17 +0200
commitdc378846874cca43be0a187d7c38d787395a6538 (patch)
treedc63faa45c0bd64b3eb26986a09a15895fc8b42b /Bugzilla/Comment.pm
parent078bff5ad35277f31e7db5fe1761e41e1c76d1de (diff)
downloadbugzilla-dc378846874cca43be0a187d7c38d787395a6538.tar.gz
bugzilla-dc378846874cca43be0a187d7c38d787395a6538.tar.xz
Bug 1383802 - Elasticsearch indexed documents lack an _id based on the object's primary key
Diffstat (limited to 'Bugzilla/Comment.pm')
-rw-r--r--Bugzilla/Comment.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Comment.pm b/Bugzilla/Comment.pm
index 23c1d3f85..f9a6f7d3a 100644
--- a/Bugzilla/Comment.pm
+++ b/Bugzilla/Comment.pm
@@ -119,7 +119,7 @@ sub ES_SELECT_UPDATED_SQL {
sub es_parent_id {
my ($self) = @_;
- return $self->bug_id,
+ return $self->ES_PARENT_CLASS->ES_TYPE . '_' . $self->bug_id,
}
sub es_document {