From af30460d1c01997300542e5bc8e6a54fa89c2b4f Mon Sep 17 00:00:00 2001 From: nofaralfasi Date: Wed, 27 Dec 2023 15:08:39 +0200 Subject: [PATCH] Fixes #36160 - add display_name field to Host GraphQL type --- app/graphql/types/host.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/graphql/types/host.rb b/app/graphql/types/host.rb index 0526e523353c..4a3730070d46 100644 --- a/app/graphql/types/host.rb +++ b/app/graphql/types/host.rb @@ -7,6 +7,7 @@ class Host < BaseObject global_id_field :id timestamps field :name, String + field :display_name, String, method: :to_label field :build, Boolean field :managed, Boolean field :ip, String