From 47ffdabdba040a7c6601f7b31658827eedceb77f Mon Sep 17 00:00:00 2001 From: Syphax bouazzouni Date: Mon, 9 Oct 2023 10:43:27 +0200 Subject: [PATCH] make the ontology submissions endpoint include views --- controllers/ontology_submissions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/ontology_submissions_controller.rb b/controllers/ontology_submissions_controller.rb index 77302c8d..0068a5f1 100644 --- a/controllers/ontology_submissions_controller.rb +++ b/controllers/ontology_submissions_controller.rb @@ -30,7 +30,7 @@ class OntologySubmissionsController < ApplicationController check_last_modified_segment(LinkedData::Models::OntologySubmission, [ont.acronym]) check_access(ont) options = { - also_include_views: params["also_include_views"], + also_include_views: true, status: (params["include_status"] || "ANY"), ontology: params["acronym"] }