Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Updated: Comment #1
Problem/Motivation
You cannot currently use the start_end field as a contextual filter (argument) in views.
Proposed resolution
It is not easy to add argument support to the start_end field whlie it remains a single field. Separating it into two start and end fields will make this task easier without losing any functionality. We will need to provide an upgrade path for views using the old single field.
Remaining tasks
- Test the separate start and end fields
- Code the upgrade path
User interface changes
Replaces the views start_end field with separate start and end fields.
Comment | File | Size | Author |
---|---|---|---|
#4 | google_analytics_reports_add_views_argument-2201927-4.patch | 8.18 KB | Plazik |
#1 | google_analytics_views-separate-start-end-2201927-1.patch | 5.75 KB | jantoine |
Comments
Comment #1
jantoine CreditAttribution: jantoine commentedThe attached patch separated the start_end field into two seaparate start and end fields. This needs tested and we still need to work on an upgrade path.
Comment #2
jantoine CreditAttribution: jantoine commentedComment #3
JadH CreditAttribution: JadH commentedNot being able to patch the files properly.
--- UPDATE ---
I did the changes manually and it works
I couldn't figure out why the patch did not apply properly
Comment #4
Plazik CreditAttribution: Plazik commented@jantoine thanks for patch!
I've write the upgrade patch for this. I've attached patch with #1 and my upgrade patch.
We need tests here. Don't forget to run
upgrade.php
!Comment #5
Plazik CreditAttribution: Plazik commentedComment #7
Plazik CreditAttribution: Plazik commented