[ACS-6641] fix advanced search filters not displaying, fix libraries search option unchecking (#3633)

This commit is contained in:
Grzegorz Jaśkowski
2024-02-13 11:28:33 +01:00
committed by GitHub
parent 1400545c2d
commit 8e567cd483
4 changed files with 132 additions and 130 deletions

View File

@@ -92,7 +92,7 @@ export class SearchInputComponent implements OnInit, OnDestroy {
{
id: SearchOptionIds.Libraries,
key: 'SEARCH.INPUT.LIBRARIES',
value: false,
value: this.onLibrariesSearchResults,
shouldDisable: this.isContentChecked.bind(this)
}
];

View File

@@ -10,7 +10,7 @@
<div class="adf-search-results">
<div class="adf-search-results__content">
<mat-progress-bar *ngIf="isLoading" color="primary" mode="indeterminate"></mat-progress-bar>
<div class="adf-search-results__content-header aca-content" *ngIf="data?.list.entries.length">
<div class="adf-search-results__content-header aca-content-lib" *ngIf="data?.list.entries.length">
<div class="aca-content__side--left">
<div class="adf-search-results--info-text" *ngIf="totalResults !== 1">
{{ 'APP.BROWSE.SEARCH_LIBRARIES.FOUND_RESULTS' | translate: { number: totalResults } }}

View File

@@ -11,7 +11,7 @@ aca-search-results {
&__content {
@include flex-column;
border-left: 1px solid #eee;
border-left: 1px solid var(--theme-border-color);
}
&__content-header {
@@ -19,7 +19,8 @@ aca-search-results {
padding: 0 25px;
flex-direction: row;
align-items: center;
border-bottom: 1px solid #eee;
border-bottom: 1px solid var(--theme-border-color);
border-top: 1px solid var(--theme-border-color);
}
&--info-text {
@@ -28,7 +29,7 @@ aca-search-results {
color: rgba(0, 0, 0, 0.54);
}
.aca-content {
.aca-content-lib {
@include flex-row;
flex: unset;
@@ -36,6 +37,7 @@ aca-search-results {
padding-top: 8px;
padding-bottom: 8px;
flex-wrap: wrap;
background-color: var(--theme-card-background-color);
&__side--left {
@include flex-column;

View File

@@ -4,7 +4,6 @@ aca-search-results {
.aca-search-toolbar-spacer {
width: 100%;
}
}
.adf-search-results {
@include flex-row;
@@ -155,3 +154,4 @@ aca-search-results {
}
}
}
}