You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge to master: Release 2.3.2 - Submissions endpoint pagination and fixes (#52)
* add get submission all including all properties test
* extract and use submission_include_params where we use submission.bring
* use retrieve_submissions helper in the :acronym/submissions endpoint
Copy file name to clipboardExpand all lines: controllers/ontologies_controller.rb
+5-14Lines changed: 5 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -38,21 +38,12 @@ class OntologiesController < ApplicationController
38
38
else
39
39
latest=ont.latest_submission(status: :any)
40
40
end
41
-
check_last_modified(latest)iflatest
42
-
# When asking to display all metadata, we are using bring_remaining which is more performant than including all metadata (remove this when the query to get metadata will be fixed)
41
+
43
42
iflatest
44
-
ifincludes_param.first == :all
45
-
# Bring what we need to display all attr of the submission
# When asking to display all metadata, we are using bring_remaining which is more performant than including all metadata (remove this when the query to get metadata will be fixed)
0 commit comments