Use relative time ranges for filtering credit listings

Created on 1 October 2025, 6 days ago

Links like https://new.drupal.org/node/1646370/contribution-records?last_status_cha... require JS to do fuzzy matching. If someone leaves a tab open for more than an hour, links to the page, or bookmarks/reading-lists the page.

https://new.drupal.org/node/1646370/contribution-records?since=1-month&i... would make this work. However, something custom would have to do the translation, probably in ContributionRecordController or a Views customization.

In D7, we used exposed grouped filters, and date filtering allowed relative timestamps, so we could have options like “1 month” → -1 month. As far as I can tell, our modern Drupal does not support this. https://www.drupal.org/project/date_filter looks like it may be a good module to enable this, and potentially remove date_range_input.js

📌 Task
Status

Active

Version

1.0

Component

User interface

Created by

🇺🇸United States drumm NY, US

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024