From 10a8ebca2a6078e43c55f9bd757a30e8dba20688 Mon Sep 17 00:00:00 2001 From: Mark Eaton Date: Sat, 16 Nov 2024 22:49:17 -0500 Subject: [PATCH] switch articles radio button to articles (peer reviewed) --- groups/home/bootstrap3/src/main5.js | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/groups/home/bootstrap3/src/main5.js b/groups/home/bootstrap3/src/main5.js index cef3dda..6961296 100644 --- a/groups/home/bootstrap3/src/main5.js +++ b/groups/home/bootstrap3/src/main5.js @@ -58,7 +58,8 @@ const onesearchComponent = { enctype="application/x-www-form-urlencoded; charset=utf-8" > - + + @@ -99,15 +100,15 @@ const onesearchComponent = { - +
@@ -116,8 +117,9 @@ const onesearchComponent = {
`, methods: { - selectradio(radiooutput) { - this.selecteditem = radiooutput; // store the data from the dropdown selection + selectradio(radiooutputfacet, radiooutputmfacet) { + this.facet = radiooutputfacet; // store the data from the radio selection + this.mfacet = radiooutputmfacet; }, submitSearch() { this.$refs.primoQueryString.value = `any,contains,${this.$refs.primoQueryTempString.value.replace( @@ -129,7 +131,8 @@ const onesearchComponent = { }, data() { return { - selecteditem: "", // initialize the data from the dropdown selection + facet: "", // initialize the data from the radio selection + mfacet: "", }; }, };