Skip to content

Commit 7af3f79

Browse files
committed
FDG-11056
1 parent dfb2c3f commit 7af3f79

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/components/published-reports/filter-reports-section/filter-reports-section.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const FilterReportsSection: FunctionComponent<Props> = ({ dataset, width }) => {
6969
dataTableRequest,
7070
cusipFirst,
7171
} = reportConfig;
72-
72+
console.log('dateFilterLabeldateFilterLabel ', reportConfig);
7373
const reportFields = dataTableRequest?.fields ? dataTableRequest.fields.split(',') : [];
7474

7575
const isSpecial = !!specialAnnouncement && selectedOption.label === (specialAnnouncement as any).label;
@@ -141,7 +141,6 @@ const FilterReportsSection: FunctionComponent<Props> = ({ dataset, width }) => {
141141
}
142142
};
143143
cacheSeed();
144-
// eslint-disable-next-line react-hooks/exhaustive-deps
145144
}, [apis, datasetId, filterField, specialAnnouncement, optionValues]);
146145
// Fetch dates for selected CUSIP
147146
const fetchAvailableDatesForCusip = async (cusipValue: string): Promise<string[]> => {
@@ -327,7 +326,7 @@ const FilterReportsSection: FunctionComponent<Props> = ({ dataset, width }) => {
327326
? format(new Date(`${useCusipFirst ? selectedDateStr : format(selectedDate as Date, 'yyyy-MM-dd')}T00:00:00`), 'MMMM d, yyyy')
328327
: format(new Date(`${useCusipFirst ? selectedDateStr : format(selectedDate as Date, 'yyyy-MM-dd')}T00:00:00`), 'MMMM yyyy')
329328
: '(None selected)';
330-
329+
console.log(dateFilterLabel);
331330
const dateDropdownButton = (
332331
<DropdownLabelButton
333332
selectedOption={dateSelectedLabel}

src/transform/static-metadata/datasets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@
484484
"fields": "pdf_filenm_announcemt,pdf_filenm_comp_results,pdf_filenm_noncomp_results,xml_filenm_announcemt,xml_filenm_comp_results",
485485
"dateField": "auction_date"
486486
},
487-
"dateFilterLabel": "Auction Date",
487+
"dateFilterLabel": "Issue Date",
488488
"dateFilterType": "byDay",
489489
"unmatchedHeader": "There is no data to display based on the current filters selected.",
490490
"unmatchedMessage": "Select a different CUSIP and/or date in order to preview the data.",

0 commit comments

Comments
 (0)