Changes for page CLB Search Component
Last modified by bougault on 2023/01/17 11:42
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -11,12 +11,7 @@ 11 11 12 12 createTemplate(htmlString) { 13 13 const template = document.createElement('template'); 14 - template.innerHTML = ` 15 - <style> 16 - ${this.styles} 17 - </style> 18 - ${htmlString} 19 - `; 14 + template.innerHTML = htmlString; 20 20 return template; 21 21 } 22 22 ... ... @@ -31,7 +31,7 @@ 31 31 32 32 customElements.define('clb-simplified-search', 33 33 class extends ClbComponent { 34 - searchBaseUrl = '/bin/get/XWiki/SuggestSolrService?outputSyntax=plain&media=json&nb=10&query=q%3D%22__INPUT__%22~100%0Afq%3Dtype%3ADOCUMENT%0Afq%3Dspace%3ACollabs.*&input='; 29 + searchBaseUrl = 'https://wiki-dev.ebrains.eu/bin/get/XWiki/SuggestSolrService?outputSyntax=plain&media=json&nb=10&offset=0&query=q%3D%22__INPUT__%22~100%0Afq%3Dtype%3ADOCUMENT%0Afq%3Dspace%3ACollabs.*&input='; 35 35 constructor() { 36 36 super(); 37 37 this.results = [];