put radios beneath search; fix unfaceted search
This commit is contained in:
@@ -76,8 +76,6 @@ const onesearchComponent = {
|
|||||||
</a>
|
</a>
|
||||||
</h1>
|
</h1>
|
||||||
<div class="form-group" id="flex-search-form">
|
<div class="form-group" id="flex-search-form">
|
||||||
|
|
||||||
|
|
||||||
<label class="sr-only" for="primoQueryTemp">Search terms</label>
|
<label class="sr-only" for="primoQueryTemp">Search terms</label>
|
||||||
<div class="input-group zero-margin form-width" id="blue-border2">
|
<div class="input-group zero-margin form-width" id="blue-border2">
|
||||||
<input class="form-control form-width inherit-height-from-flex"
|
<input class="form-control form-width inherit-height-from-flex"
|
||||||
@@ -96,20 +94,20 @@ const onesearchComponent = {
|
|||||||
@click.stop.prevent="submitSearch"
|
@click.stop.prevent="submitSearch"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
</div>
|
||||||
<input type="radio"
|
<div id="radios">
|
||||||
id="booksradio"
|
<input type="radio"
|
||||||
name="radio1"
|
id="booksradio"
|
||||||
@click="selectradio('rtype,include,books')"
|
name="radio1"
|
||||||
>
|
@click="selectradio('rtype,include,books')"
|
||||||
<label for="booksradio">Books</label>
|
>
|
||||||
<input type="radio"
|
<label for="booksradio">Books</label>
|
||||||
id="articlesradio"
|
<input type="radio"
|
||||||
name="radio1"
|
id="articlesradio"
|
||||||
@click="selectradio('rtype,include,articles')"
|
name="radio1"
|
||||||
>
|
@click="selectradio('rtype,include,articles')"
|
||||||
<label for="articlesradio">Articles</label>
|
>
|
||||||
</div>
|
<label for="articlesradio">Articles</label>
|
||||||
</div>
|
</div>
|
||||||
</form>`,
|
</form>`,
|
||||||
methods: {
|
methods: {
|
||||||
@@ -126,9 +124,7 @@ const onesearchComponent = {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
selecteditem: {}, // initialize the data from the dropdown selection
|
selecteditem: "", // initialize the data from the dropdown selection
|
||||||
searchstring: "", // initialize an empty search string
|
|
||||||
displayeditem: "Define Your Search", // the text displayed a the top of the OneSearch dropdown
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user