Revert "DEV: Add PluginOutlet on full-page-search-above-search-header and fil…"

This reverts commit b552d7214b.
This commit is contained in:
Guhyoun Nam 2025-01-03 13:46:25 -06:00 committed by GitHub
parent b4f0a8748d
commit 42dac2bc41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 28 deletions

View File

@ -5,11 +5,6 @@
{{body-class "search-page"}}
<section class="search-container">
<PluginOutlet
@name="full-page-search-above-search-header"
@connectorTagName="div"
@outletArgs={{hash searchTerm=this.searchTerm}}
/>
<div class="search-header" role="search">
<h1 class="search-page-heading">
{{#if this.hasResults}}
@ -61,29 +56,13 @@
{{/if}}
<div class="search-filters">
<PluginOutlet
@name="full-page-search-filters"
@outletArgs={{hash
searchTerm=(readonly this.searchTerm)
onChangeSearchTerm=(fn (mut this.searchTerm))
search=(action "search" (hash collapseFilters=true))
searchButtonDisabled=this.searchButtonDisabled
expandFilters=this.expandFilters
sortOrder=this.sortOrder
sortOrderOptions=this.sortOrders
setSortOrder=this.setSortOrder
type=this.search_type
addSearchResults=this.addSearchResults
}}
>
<SearchAdvancedOptions
@searchTerm={{readonly this.searchTerm}}
@onChangeSearchTerm={{fn (mut this.searchTerm)}}
@search={{action "search" (hash collapseFilters=true)}}
@searchButtonDisabled={{this.searchButtonDisabled}}
@expandFilters={{this.expandFilters}}
/>
</PluginOutlet>
<SearchAdvancedOptions
@searchTerm={{readonly this.searchTerm}}
@onChangeSearchTerm={{fn (mut this.searchTerm)}}
@search={{action "search" (hash collapseFilters=true)}}
@searchButtonDisabled={{this.searchButtonDisabled}}
@expandFilters={{this.expandFilters}}
/>
</div>
{{/if}}