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 27.46
edited by bougault
on 2022/11/17 14:08
Change comment: There is no comment for this version
To version 27.44
edited by bougault
on 2022/11/17 14:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -58,8 +58,9 @@
58 58   setSearchText(e) {
59 59   this.searchText = e.target.value;
60 60   }
61 - handleSearch(textSearch) {
62 - if(this.searchText !== "" || textSearch) {
61 +
62 + handleSearch() {
63 + if(this.searchText !== "") {
63 63   if(this.searchText !== this.prevSearchText) {
64 64   this.prevSearchText = this.searchText;
65 65   Promise.all([
... ... @@ -116,7 +116,7 @@
116 116  <div>
117 117   <div>
118 118   <input @change="${this.setSearchText}" type="text" placeholder="Search..." />
119 - <button @click="${() => this.handleSearch(true)}">Search</button>
120 + <button @click="${this.handleSearch}">Search</button>
120 120   </div>
121 121   <div>
122 122   <label><input type="checkbox" @change="${() => this.toggleRoleFilter('administrator')}" .checked="${this.administratorFilter}"/> Administrator</label>