From 916fec030a1d913650f0fcd21e7fb97dfebf3109 Mon Sep 17 00:00:00 2001 From: Mark Eaton Date: Mon, 4 Nov 2024 11:31:00 -0500 Subject: [PATCH] remove unnecessary code --- groups/home/bootstrap3/src/main5.js | 36 +---------------------------- 1 file changed, 1 insertion(+), 35 deletions(-) diff --git a/groups/home/bootstrap3/src/main5.js b/groups/home/bootstrap3/src/main5.js index b1182cf..4ec29fb 100644 --- a/groups/home/bootstrap3/src/main5.js +++ b/groups/home/bootstrap3/src/main5.js @@ -122,7 +122,7 @@ const onesearchComponent = { ref="primoQueryTempString" type="search" v-model="searchstring" - :placeholder="placeholderstring" + placeholder="Enter search term here" />
@@ -138,7 +138,6 @@ const onesearchComponent = { selectdropdown(item, itemName) { this.displayeditem = itemName; // swap in current item at the top of the dropdown this.selecteditem = item; // store the data from the dropdown selection - this.placeholderstring = "Enter search term here"; }, submitSearch() { this.$refs.primoQueryString.value = `any,contains,${this.$refs.primoQueryTempString.value.replace( @@ -152,51 +151,18 @@ const onesearchComponent = { return { selecteditem: {}, // initialize the data from the dropdown selection searchstring: "", // initialize an empty search string - placeholderstring: "Enter search term here", // initialize the placeholder displayeditem: "Define Your Search", // the text displayed a the top of the OneSearch dropdown materialtype: { Books: { - fullName: "Books", - baseUrl: "https://cuny-kb.primo.exlibrisgroup.com/discovery/search", - tab: "Everything", - searchScope: "IZ_CI_AW", input: '', id: 1, }, Articles: { - fullName: "Articles (Peer reviewed)", - baseUrl: "https://cuny-kb.primo.exlibrisgroup.com/discovery/search", - tab: "Everything", - searchScope: "IZ_CI_AW", input: '', id: 2, }, - Reserves: { - fullName: "Course reserves", - baseUrl: "https://cuny-kb.primo.exlibrisgroup.com/discovery/search", - tab: "CourseReserves", - searchScope: "CourseReserves", - input: "", - id: 3, - }, - Newspapers: { - fullName: "Newspapers and Magazines", - baseUrl: "https://cuny-kb.primo.exlibrisgroup.com/discovery/npsearch", - tab: "Everything", - searchScope: "IZ_CI_AW", - input: "", - id: 4, - }, - Journals: { - fullName: "Journals", - baseUrl: "https://cuny-kb.primo.exlibrisgroup.com/discovery/jsearch", - tab: "jsearch_slot", - searchScope: "IZ_CI_AW", - input: "", - id: 5, - }, }, }; },