diff --git a/app/Http/Controllers/BuildController.php b/app/Http/Controllers/BuildController.php
index 19ac0e99f2..5155b2dfd3 100644
--- a/app/Http/Controllers/BuildController.php
+++ b/app/Http/Controllers/BuildController.php
@@ -117,6 +117,7 @@ public function summary(int $build_id): View
}
return $this->vue('build-summary', 'Build Summary', [
+ 'project-id' => $this->project->Id,
'build-id' => $this->build->Id,
'previous-build-id' => $previous_buildid,
'next-build-id' => $next_buildid,
diff --git a/graphql/schema.graphql b/graphql/schema.graphql
index b5cf15209d..ef47af8d78 100644
--- a/graphql/schema.graphql
+++ b/graphql/schema.graphql
@@ -805,7 +805,7 @@ type Build {
# TODO: Determine if there are more specific values we can use for this
"Type."
- buildType: String! @rename(attribute: "type")
+ buildType: String! @rename(attribute: "type") @filterable
"The version of CTest used to generate this build. Example: ctest-2.9.20091218"
generator: String! @filterable
@@ -920,7 +920,7 @@ type Build {
files: [UploadedFile!]! @hasMany(relation: "uploadedFiles", type: CONNECTION, scopes: ["files"]) @orderBy(column: "id", direction: ASC)
- subProject: SubProject! @belongsTo
+ subProject: SubProject @belongsTo
configure: Configure @hasOneThrough
@@ -1433,9 +1433,9 @@ type UploadedFile @model(class: "App\\Models\\UploadFile") {
# TODO: add the rest of the fields once types and relationships are solidified.
type SubProject {
"Unique primary key."
- id: ID!
+ id: ID! @filterable
- name: String!
+ name: String! @filterable
}
diff --git a/resources/js/vue/components/BuildSummary.vue b/resources/js/vue/components/BuildSummary.vue
index 87615e789e..caadd2acf8 100644
--- a/resources/js/vue/components/BuildSummary.vue
+++ b/resources/js/vue/components/BuildSummary.vue
@@ -418,20 +418,6 @@
-
-