Skip to content

Commit

Permalink
EPICSYSTEM-7 activity page filter, add dateAdded filter to api
Browse files Browse the repository at this point in the history
  • Loading branch information
tolkamps1 committed Feb 22, 2024
1 parent a2a6691 commit e496a73
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api/helpers/aggregators.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,12 @@ const generateExpArray = async (field, roles, schemaName) => {
handleDateEndItem(orArray, field, decodeURIComponent(entry));
}
break;
case 'dateAddedStart':
handleDateStartItem(orArray, ['dateAdded'], decodeURIComponent(entry));
break;
case 'dateAddedEnd':
handleDateEndItem(orArray, ['dateAdded'], decodeURIComponent(entry));
break;
case 'datePostedStart':
handleDateStartItem(orArray, ['datePosted'], decodeURIComponent(entry));
break;
Expand Down

0 comments on commit e496a73

Please sign in to comment.