unified_date
This module is useful if you want to sort multiple content types in a unified list that have different date fields. For example:
1. Publications: Publication Date (added field)
2. Articles: Created Date (base field)
3. Events: End Date (added field)
4. Job vacancies: Application Deadline (added field)
You select which fields are the fields for the 'Unified Date' and this module syncs those fields into the new 'unified_date' base field that it creates. You can then for instance sort Views, Search, Recent Related Content, etc by that date.
Features
Configure per node bundle which field should be stored in the Unified Date. If not set, it defaults to the Created date base field. The following field types are supported:
- Base fields (core)
- Base field overrides (your own custom code)
- Datetime (core)
- Datetime range (core)
- Datetime range timezone (contrib module)
- Smart date (contrib module)
- Something else? Raise an issue, happy to support more options
Use the batch form to run a batch script to auto-update content when you change the configuration
Post-Installation
Go to the configuration page and decide on fields to use
Use the batch form to update existing content
Automated testing
You can view the automated testing results via Gitlab Pipelines for the project