I have a list of items with ngIf like the following
<ion-list> <ion-item *ngIf="isItemInThisYear(item.id)"> ... </ion-list>
Each item can appear several times but only the records from this year will appear. This works.
When clicking an item inside this list, I want to reload this page but this time, the list should only show records of the selected item (regardless the date).
I understand that I should change
isItemInThisYear to accommodate either options but how can I send the value/parameter from the clicked item to the whole page so it will reload itself with the relevant parameter?