My ng-repeat list is currently displaying a collection of objects with a filter applied to only show objects inserted today. Here is how it looks:
<div class="row msf-row"
ng-repeat="record in recordlist | filter: record.date = dateJson">
While this is working well, I am facing an issue where I want to display records inserted today as well as records that do not have the "arrival" property (as they might have been inserted yesterday but still need to be marked as arrived).
I have attempted the following to achieve this, but I am unsure if it is correct:
<div class="row msf-row"
ng-repeat="record in recordlist |
filter: record.date = dateJson ||
record.date != dateJson && !record.arrival">
Can someone confirm if this approach is correct?