Skip to content
Snippets Groups Projects
Commit f3a5b019 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #12091 TIME 0:15 fix departureDate link to documentDate

parent c6c835fe
No related branches found
No related tags found
No related merge requests found
...@@ -344,6 +344,12 @@ export class IndexingFormComponent implements OnInit { ...@@ -344,6 +344,12 @@ export class IndexingFormComponent implements OnInit {
elem.startDate = ''; elem.startDate = '';
elem.endDate = '_TODAY'; elem.endDate = '_TODAY';
this.fieldCategories.forEach(element => {
if (this['indexingModels_' + element].filter((field: any) => field.identifier === 'departureDate').length > 0) {
elem.endDate = 'departureDate';
}
});
} else if (elem.identifier === 'destination') { } else if (elem.identifier === 'destination') {
if (this.adminMode) { if (this.adminMode) {
let title = ''; let title = '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment