Skip to content

Commit

Permalink
Merge branch 'development' into feature/ecoportal/align-to-agroportal…
Browse files Browse the repository at this point in the history
…-3.0
  • Loading branch information
syphax-bouazzouni committed Oct 29, 2024
2 parents 66e7f4b + 8bf8a9d commit 21db11f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/concerns/submission_filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def submissions_paginate_filter(params)

submissions = filter_submissions(@ontologies, **params)

submissions = merge_by_acronym(submissions)
submissions = merge_by_acronym(submissions) if federation_enabled?


submissions = sort_submission_by(submissions, @sort_by, @search)
Expand Down
2 changes: 1 addition & 1 deletion app/views/search/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
= t("search.advanced_options.ontologies")
.field
= ontologies_selector(id:'search_page_ontologies' ,name: 'ontologies[]', selected: params[:ontologies]&.split(','), ontologies: onts_for_select(include_views: true))
- if federation_enabled?
- if federation_enabled?
.filter-container
.title
= t('federation.results_from_external_portals')
Expand Down

0 comments on commit 21db11f

Please sign in to comment.