A site owner wants to differentiate between semantically different dates of articles published on their Drupal site as follows:
- Editorial changes on an article will NOT create a new revision.
- Content changes (e.g. updates, new paragraphs, etc.) WILL create a new revision.
- Order of display (e.g. on overview pages) should be done by revision date or publication date, whichever is more recent
- Articles should always display the most recent version (i.e. to reflect editorial changes)
I don't understand the logic behind the various dates provided by core Drupal 8, and how I could use them to implement what the customer wants.
For better understanding, here is an example:
- On 1 May 2019, Article 1 was written and published in one go, and has never been changed since.
- On 12 May, Article 2 was published after it was started on 10 May.
- On 15 May, Article 3 was written and published.
- On 19 May, Article 3 received editorial changes without a new revision.
- On 21 May, Article 2 was updated with more content, thus creating a new revision.
The (descending) order in which these articles shall be displayed is:
- Article 2 - 12 May 2019 (Updated on 21 May 2019)
- Article 3 - 15 May 2019
- Article 1 - 1 May 2019
How can I achieve that with the least amount of custom code or modules to be used? Ideally the solution would entail only core Drupal views (however complex).