On an Event Series page, the events instances are not appearing in chronological order. Is it possible to re-order them to be chronological?

Comments

pjudge created an issue. See original summary.

owenbush’s picture

Yea, these are currently in the order of when they were created. I think this shouldn't be too big a change to modify the listing to order chronologically.

the_glitch’s picture

StatusFileSize
new263.76 KB

Yes please. Regardless of the order the instances are created they appear in Day of the Week order.

Here's a screenshot with Day of the week added to PHP date formatting to a 4 week series. First I created the series to occur on Mondays and Wednesdays only. Then I added the rest of the days after the series was first created.
screenshot

mrpauldriver’s picture

I confirm this. See screen shot

the_glitch’s picture

👍

the_glitch’s picture

This is a rather important issue that may have been forgotten.

Also, can another PHP Date Format field be added to the Manage Display formatter so the Start and End dates have their own individual PHP formats with a checkbox option for End Date display to turn it on or off?
Only local images are allowed.

owenbush’s picture

This hasn't been forgotten, it's just not been as high a priority as bundles and other issues. This item is on the roadmap for the 1.0 release.

Manage display settings will likely not be a part of the change though. This issue will just address the ordering of the instances as the date is more relevant to https://www.drupal.org/project/recurring_events/issues/3090156

mrpauldriver’s picture

This has probably been resolved with Add Views Submodule

owenbush’s picture

This actually is not built using a view. Its a simple entity reference field at this moment, so probably still needs to be addressed.

owenbush’s picture

Component: User interface » Recurring Events (Main module)
Issue tags: +RE Stable Release Blocker
Snehal Brahmbhatt’s picture

Status: Active » Needs review
StatusFileSize
new628 bytes

@pjudge @MrPaulDriver @the_glitch @owenbush Please find this patch to resolve the above-mentioned issue.

Hope this works for you flawlessly!

Thanks,
Snehal Brahmbhatt
https://www.drupal.org/user/3147795/track

the_glitch’s picture

Is there any progress on the date display formatters so the end date only displays the time if the event ends on the same day as the start date?
https://www.drupal.org/project/recurring_events/issues/3090156

owenbush’s picture

StatusFileSize
new822 bytes
new884 bytes

Unfortunately, patch #11 is not sufficient. Sorting dates alphabetically means that February dates will appear before January etc. Instead, we need to sort based on the date itself, so I've gone ahead and rewritten the patch to do that.

Interdiff also supplied.

mrpauldriver’s picture

Status: Needs review » Reviewed & tested by the community

This is now fixed. Marking as RTBC.

  • owenbush committed 9343269 on 8.x-1.x
    Issue #3087235 by owenbush, Snehal Brahmbhatt, the_glitch, MrPaulDriver...
owenbush’s picture

Status: Reviewed & tested by the community » Fixed

This has been merged so I am marking it as fixed. Thank you all for helping get this one over the line.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.