Enhancement: allow choosing full search link from global search

This commit is contained in:
shamoon
2024-05-21 13:51:24 -07:00
parent 2a0c03eda0
commit 1c986ae14e
8 changed files with 193 additions and 94 deletions

View File

@@ -19,8 +19,12 @@
</div>
</div>
@if (query) {
<button class="btn btn-sm btn-outline-secondary" type="button" (click)="runAdvanedSearch()">
<ng-container i18n>Advanced search</ng-container>
<button class="btn btn-sm btn-outline-secondary" type="button" (click)="runFullSearch()">
@if (useAdvancedForFullSearch) {
<ng-container i18n>Advanced search</ng-container>
} @else {
<ng-container i18n>Search</ng-container>
}
<i-bs width="1em" height="1em" name="arrow-right-short"></i-bs>
</button>
}