-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add advanced search included parent oid and call number
Co-authored-by: Eric DeJesus <eric.dejesus@yale.com>
- Loading branch information
Showing
16 changed files
with
355 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# frozen_string_literal: true | ||
class SavedSearchesController < ApplicationController | ||
include Blacklight::SavedSearches | ||
|
||
helper BlacklightAdvancedSearch::RenderConstraintsOverride | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<% unless (search_context_str = render_search_to_s( advanced_search_context)).blank? %> | ||
<div class="constraints well search_history"> | ||
<h4><%= t 'blacklight_advanced_search.form.search_context' %></h4> | ||
<%= search_context_str %> | ||
</div> | ||
<% end %> | ||
<%= form_tag search_catalog_path, :class => 'advanced form-horizontal', :method => :get do %> | ||
<%= render_hash_as_hidden_fields(advanced_search_context) %> | ||
|
||
<div class="input-criteria"> | ||
|
||
<div class="query-criteria"> | ||
<h3 class="query-criteria-heading"> | ||
<%= t('blacklight_advanced_search.form.query_criteria_heading_html', :select_menu => select_menu_for_field_operator ) %> | ||
</h3> | ||
|
||
<div id="advanced_search"> | ||
<%= render 'advanced/advanced_search_fields' %> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
<div class="form-group advanced-search-facet"> | ||
<%= label_tag "publication_date", :class => "col-sm-3 control-label" do %> | ||
Publication Year | ||
<% end %> | ||
|
||
<div class="col-sm-9"> | ||
<%= render_range_input("pub_date_sort", :begin) %> - <%= render_range_input("pub_date_sort", :end) %> | ||
</div> | ||
</div> | ||
|
||
<hr> | ||
|
||
<div class="sort-submit-buttons clearfix"> | ||
<%= render 'advanced_search_submit_btns' %> | ||
</div> | ||
|
||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.