Skip to content

Commit

Permalink
removed sort option
Browse files Browse the repository at this point in the history
  • Loading branch information
maxturer committed Apr 26, 2024
1 parent c59febc commit 73c3b75
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
15 changes: 11 additions & 4 deletions app/assets/stylesheets/scholarspace/components/_advanced.scss
Original file line number Diff line number Diff line change
Expand Up @@ -216,18 +216,21 @@
margin-bottom: 0;
padding: 0em 3em 1em 3em;

.sort-buttons,
.submit-buttons {
margin-bottom: 1rem;

.gw-btn {
padding: 0.3rem 2.75rem;
}

.gw-ghost-btn {
padding: 0.3rem 0.75rem;
}
}

hr {
display: flex;
width: 13vw;
width: 15vw;
margin: 0 0 1rem 0;
border: 2px solid $gw-buff;
}
Expand Down Expand Up @@ -295,10 +298,14 @@
}

.sort-submit-buttons {
flex-direction: column;
.submit-buttons {
.gw-btn {
padding: 0.3rem 0.75rem;
}
}

hr {
display: none;
width: 11vw;
}
}
}
Expand Down
9 changes: 1 addition & 8 deletions app/views/advanced/_advanced_search_submit_btns.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
<div class="sort-buttons pull-left">
<%= label_tag(:sort, t('blacklight_advanced_search.form.sort_label'), :class => "control-label") %>

<%= select_tag(:sort, options_for_select(sort_fields, h(params[:sort])), :class => "form-control sort-select") %>
<%= hidden_field_tag(:search_field, blacklight_config.advanced_search[:url_key]) %>
</div>

<div class="submit-buttons pull-right">
<div class="submit-buttons">
<%= link_to t('blacklight_advanced_search.form.start_over'), blacklight_advanced_search_engine.advanced_search_path, :class =>"btn-base gw-ghost-btn advanced-search-start-over" %>

<%= submit_tag t('blacklight_advanced_search.form.search_btn'), :class=>'btn-base gw-btn advanced-search-submit', :id => "advanced-search-submit" %>
Expand Down

0 comments on commit 73c3b75

Please sign in to comment.