Commits

Giuseppe Digilio authored 20314d46200
[CST-6056] Fix issue with authority suggestion by adding the filter query in the input suggestion object
No tags

src/app/shared/input-suggestions/filter-suggestions/filter-input-suggestions.component.html

Modified
20 20 [ngModelOptions]="{standalone: true}" autocomplete="off"
21 21 />
22 22 </ng-template>
23 23 <label class="d-none">
24 24 <input type="submit"/>
25 25 <span>{{'search.filters.search.submit' | translate}}</span>
26 26 </label>
27 27 <div class="autocomplete dropdown-menu" [ngClass]="{'show': (show | async) && isNotEmpty(suggestions)}">
28 28 <div class="dropdown-list">
29 29 <div *ngFor="let suggestionOption of suggestions">
30 - <a href="javascript:void(0);" class="d-block dropdown-item" (click)="onClickSuggestion(suggestionOption.value)" #suggestion>
30 + <a href="javascript:void(0);" class="d-block dropdown-item" (click)="onClickSuggestion(suggestionOption)" #suggestion>
31 31 <span [innerHTML]="suggestionOption.displayValue"></span>
32 32 </a>
33 33 </div>
34 34 </div>
35 35 </div>
36 36 </form>

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut