Failed to execute template. Cause: [Access denied when checking [script] access to [xwiki:Collaboratory.UX.HbpSkin.WebHome] for user [xwiki:XWiki.Admin]]. Click on this message for details.

Context Search - HBP Wiki

IAM21 instance, do not create collab nor modify a team, your changes will be lost


Changes for page Context Search

Last modified by bougault on 2023/02/20 16:29

From version 26.87
edited by bougault
on 2022/11/17 10:51
Change comment: There is no comment for this version
To version 26.90
edited by bougault
on 2022/11/17 10:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -68,6 +68,9 @@
68 68   buildFilter() {
69 69   //https://wiki-dev.ebrains.eu/rest/v1/collabs?search=&offset=0&orderField=title&order=asc&favorite=true&roles=
70 70   }
71 + getLink(xwikiDocSpace) {
72 + return `/bin/view/${xwikiDocSpace.replaceAll('.', '/')}`;
73 + }
71 71   render() {
72 72   return html`
73 73  <div>
... ... @@ -83,7 +83,7 @@
83 83   <div>
84 84   ${this.results.map(result => html`
85 85   <div class="result">
86 - <a href="#">${result.title_}</a>
89 + <a href="${this.getLink(result.space)}">${result.title_}</a>
87 87   <div class="light">${result.space}</div>
88 88   <div>${result.doccontent_.substring(0, 150)}
89 89   </div>