Skip to content

Commit

Permalink
Merge pull request #1639 from namjohn920/advanced-search
Browse files Browse the repository at this point in the history
advanced search added

Approved at technical review.
  • Loading branch information
GormFrank authored Mar 6, 2020
2 parents 49c61e3 + 2718610 commit dd54357
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 1 deletion.
11 changes: 10 additions & 1 deletion site/pages/search/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@

<h2>Version history</h2>
<ul>
<li><time>2020-02-12</time> Version 2.1 - Advanced search is added under pagination tab</li>
<li><time>2019-02-06</time> Version 2 - Search results, Contextualized search result, Faceted results</li>
<li><time>2013-01-01</time> Version 1 - Undocumented search results template. Associated with the version 1.x of the Canada.ca Content and IA specification</li>
</ul>
Expand Down Expand Up @@ -107,7 +108,8 @@
<pre><code>&lt;h1 property="name"&gt;Search results&lt;/h1&gt;
&lt;!-- Search bar (mendatory) --&gt;
&lt;!-- Search filter (optional) --&gt;
&lt;!-- Search result (mendatory) --&gt;</code></pre>
&lt;!-- Search result (mendatory) --&gt;
&lt;!-- Advanced search link (optional) --&gt;</code></pre>

<h3>Search bar</h3>

Expand Down Expand Up @@ -404,6 +406,13 @@
&lt;/div&gt;
</code></pre>

<h3>Advanced Search Link (optional)</h3>
<p>Advanced search link below the pagination tab will allow users to enhance the search result.</p>

<pre><code>
&lt;p class="text-center"&gt;&lt;small&gt;&lt;a href="[URL of the advance search page]"&gt;Perform an advanced search&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
</code></pre>

<h3>Search filter (optional)</h3>

<p>Applying the require to wrap the search result into a columns, as described after the filter block code sample</p>
Expand Down
2 changes: 2 additions & 0 deletions site/pages/search/results-contextual-en.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -216,3 +216,5 @@
</ul>
</div>
</section>

<p class="text-center"><small><a href="#URL-of-the-advance-search-page">Perform an advanced search</a></small></p>
2 changes: 2 additions & 0 deletions site/pages/search/results-contextual-fr.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,5 @@
</ul>
</div>
</section>

<p class="text-center"><small><a href="#URL-of-the-advance-search-page">Effectuer une recherche avancée</a></small></p>
2 changes: 2 additions & 0 deletions site/pages/search/results-en.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,5 @@
</ul>
</div>
</section>

<p class="text-center"><small><a href="#URL-of-the-advance-search-page">Perform an advanced search</a></small></p>
1 change: 1 addition & 0 deletions site/pages/search/results-filters-en.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -221,5 +221,6 @@
</ul>
</div>
</section>
<p class="text-center"><small><a href="#URL-of-the-advance-search-page">Perform an advanced search</a></small></p>
</div>
</div>
1 change: 1 addition & 0 deletions site/pages/search/results-filters-fr.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,6 @@
</ul>
</div>
</section>
<p class="text-center"><small><a href="#URL-of-the-advance-search-page">Effectuer une recherche avancée</a></small></p>
</div>
</div>
2 changes: 2 additions & 0 deletions site/pages/search/results-fr.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,5 @@
</ul>
</div>
</section>

<p class="text-center"><small><a href="#URL-of-the-advance-search-page">Effectuer une recherche avancée</a></small></p>

0 comments on commit dd54357

Please sign in to comment.