Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
fieldapi data
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Jul 2011 at 10:45 UTC
Updated:
7 Jan 2012 at 13:50 UTC
As there are delta filters, argument and sort provided for the delta column, I guess adding the 'field' would not be a big deal. Was there any reason, why it did not go into code?
I definitely need the column for a view, so I created the patch below.
The only thing i'm not sure off, is if there is a 'real field' needed. merlin, dereine, do you know an answer to that?
| Comment | File | Size | Author |
|---|---|---|---|
| views_field_delta_field.patch | 1.14 KB | derhasi |
Comments
Comment #1
merlinofchaos commentedI don't believe a 'real field' would be needed. Will have to take a look at this more closely when I have more time.
Comment #2
dawehnerWell in theory it would be possible if there would exist a formatter which prints out just the delta.
Comment #3
merlinofchaos commentedThat's interesting, but such a formatter would also be very confusing, since it would appear basically everywhere and impact how formatters are chosen all over the site.
Comment #4
derhasi commentedHm, now I'm confused :D
I just thought of displaying the delta via 'views_handler_field_numeric'. I guess we could even remove the
from the patch.
Comment #5
dawehnerSo update status to get a perfect version in.
Comment #6
dawehnerJust committed a much simpler version... Thanks for the patch and the idea!
That's all you need.