Skip to content

Commit dd81565

Browse files
committed
Ensure cross-space filter is visible even if other curation filters not
Tweak filter wording to be more accurate to function
1 parent e9c5a29 commit dd81565

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/views/search/common/_facet_sidebar_curation.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<% show_cross_space_filter = current_user&.is_admin? %>
44
<% resource_name = resource_type.model_name.human.downcase.pluralize %>
55

6-
<% if show_last_scraped_filter || show_hidden_filter %>
6+
<% if show_last_scraped_filter || show_hidden_filter || show_cross_space_filter %>
77
<ul class="unstyled nav-simple">
88
<li>
99
<h4 class="nav-heading mt-4">

config/locales/en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ en:
859859
show_archived: 'Show archived %{resource}'
860860
hide_archived: 'Hide archived %{resource}'
861861
show_cross_space: 'Show %{resource} from all spaces'
862-
hide_cross_space: 'Hide %{resource} from all spaces'
862+
hide_cross_space: 'Only show %{resource} from current space'
863863
hidden:
864864
values:
865865
show_hidden: 'Show hidden items'

0 commit comments

Comments
 (0)