Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed May 9, 2024
1 parent 7e5e1fb commit 4e5027c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export class ResultStackComponent implements OnInit {
});
// Sort collapse_hits by __city_count ascending
this.result.collapse_hits.sort((a, b) => (a as any)['__city_count'] - (b as any)['__city_count']);
this.result.collapse_hits = this.result.collapse_hits.filter((h) => h.card_id !== this.result.card_id);
}
if (this.showCount === -1 && this.collapsibleCount > 0) {
this.showCount = this.collapsibleCount > 4 ? 4 : this.collapsibleCount;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a class='logo layout-desktop' [routerLink]='["/"]' aria-label='חזרה לעמוד הבית'></a>
<div class='searchbox'>
<app-menu-icon *ngIf='layout.mobile()'></app-menu-icon>
<h1 class='clickable' (activated)='search(searchParams.original_query || "")' [title]='searchParams ? searchParams.original_query : ""'
<h1 class='clickable' (activated)='search(searchParams?.original_query || "")' [title]='searchParams?.original_query ? searchParams.original_query : ""'
aria-label='ביצוע חיפוש חדש באתר כל שירות'
interactionEvent='regular-searchbar' [interactionEventWhere]='location.path(false)' [searchParams]='searchParams'
clickOnReturn
Expand Down

0 comments on commit 4e5027c

Please sign in to comment.