Add a "list" display retaining multi date sort order

Created on 25 May 2024, 9 months ago
Updated 18 August 2024, 6 months ago

This module handles sorting multiple date range fields well. This may be the only module that does this, at all.

However sometimes a calendar display is not needed. Having list data sorted by multiple date field values, which can be further styled, would be ideal in many cases.

✨ Feature request
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States drupgirl

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @drupgirl
  • Status changed to Postponed: needs info 9 months ago
  • Thank you @drupgirl ! I'm glad this module helps.

    If I understand correctly, I think you want to have a new display to show events as a List.

    If yes, this is not related to Calendar View specifically but to Views displays.

    You can achieve it easily by creating a new display on your View and selected the a list display. Then you can add link to other displays in the header for instance, just like I did on the Drucal.org page (see attached screenshot).

    Please let me know if this is what you needed.

  • πŸ‡ΊπŸ‡ΈUnited States drupgirl

    Updated Title to make this request more clear.

    Yes, Views makes lists, however it does not sort these list using multiple date range fields. The sort for the standard list makes sorts the date fields independently and then stacks those results in order of the sort.

    Use case:
    Content type with multiple date range fields.

    Desire:
    To sort the nodes in a list by the most recent date range field value on the node.

    Node 1
    field_date_range value: dec 1 12:05am

    Node 2
    field_date_range value: dec 3 12:07am

    Node 3
    field_date_range_1 value: dec 2 227pm

    Outcome desired sorted by both date range field values:
    Node 1
    Node 3
    Node 2

    This module sorts the multiple date fields, and you can select the ones your want to include. Fantastic. Now I just want the order these nodes are being displayed in, not the Calendar display.

  • Status changed to Active 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States drupgirl

    added more info, update title for clarity

  • I see. Thank you for explaining.

    IMHO it is more of a feature to request on Views, not on this module.

    But it is interesting to have a list display for calendars anyway for other issues - such as a11y and responsiveness.

    Leaving this as active if others want to jump in to provide more context and/or work on a new Calendar View style plugin extending the Unformatted list for instance.

  • Status changed to Needs work 6 months ago
  • Status changed to Active 6 months ago
Production build 0.71.5 2024