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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jantoine’s picture

Assigned: jantoine » Unassigned
Issue summary: View changes
Status: Active » Needs work
FileSize
5.75 KB

The 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.

jantoine’s picture

Issue summary: View changes
JadH’s picture

Not 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

Plazik’s picture

Status: Needs work » Needs review
FileSize
8.18 KB

@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!

Plazik’s picture

  • Plazik committed bc44866 on 7.x-3.x authored by jantoine
    Issue #2201927 by Plazik, jantoine: Add views argument support for the...
Plazik’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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