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.57
edited by bougault
on 2022/11/17 09:46
Change comment: There is no comment for this version
To version 26.55
edited by bougault
on 2022/11/17 09:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -21,9 +21,6 @@
21 21   this.publicFilter = false;
22 22   this.privateFilter = false;
23 23   }
24 - toggleFilter(filter) {
25 - filter = !filter
26 - }
27 27   setSearchText(e) {
28 28   this.searchText = e.target.value;
29 29   }
... ... @@ -37,7 +37,7 @@
37 37   <input @change="${this.setSearchText}" type="text" placeholder="Search..." />
38 38   <button @click="${this.handleSearch}">Search</button>
39 39   </div>
40 - <label><input type="checkbox" @change="${() => toggleFilter(this.administratorFilter)}" .checked="${this.administratorFilter}"/> Administrator</label>
37 + <label><input type="checkbox" @change="${(e) => { this.administratorFilter = e.target.checked }}" .checked="${this.administratorFilter}"/> Administrator</label>
41 41  </div>
42 42  `
43 43   }