projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
159faa8
)
Apply suggestions from code review
author
Marcel Werk
<burntime@woltlab.com>
Tue, 16 May 2023 12:53:31 +0000
(14:53 +0200)
committer
GitHub
<noreply@github.com>
Tue, 16 May 2023 12:53:31 +0000
(14:53 +0200)
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
ts/WoltLabSuite/Core/Ui/Search/Extended.ts
patch
|
blob
|
blame
|
history
diff --git
a/ts/WoltLabSuite/Core/Ui/Search/Extended.ts
b/ts/WoltLabSuite/Core/Ui/Search/Extended.ts
index bb0127940eac164254ae943b0940c120b996edae..c66b8a9c098f787123a8217f5defa336eed7e528 100644
(file)
--- a/
ts/WoltLabSuite/Core/Ui/Search/Extended.ts
+++ b/
ts/WoltLabSuite/Core/Ui/Search/Extended.ts
@@
-136,9
+136,9
@@
export class UiSearchExtended {
this.activePage = pageNo!;
this.showSearchResults(template!);
} else if (Object.keys(this.getFormData()).length > 4) {
- //
If no results are found and advanced filters are active,
- //
make sure that the corresponding area is shown,
- this.filtersContainer.
setAttribute("open", "")
;
+ //
Show the advanced filters when there are no results
+ //
but advanced filters are applied.
+ this.filtersContainer.
open = true
;
}
}