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.
Opening this as a follow-up request to #2312729: "Number of values to display" has no effect in View. It would reduce confusion to prevent these two form fields from appearing in the views settings for an individual field, since they have no effect, yet appear more prominently than Views' own settings which implement this.
Comment | File | Size | Author |
---|---|---|---|
#9 | 2400517-changes_in_views_settings-9.patch | 2.56 KB | chishah92 |
#6 | 2400517-changes_in_views_settings-6.patch | 1.93 KB | chishah92 |
#4 | 2400517-changes_in_views_settings-4.patch | 1.19 KB | chishah92 |
Comments
Comment #1
t_en CreditAttribution: t_en commentedI second this! The current setup is very confusing.
Comment #2
rootworkI agree this is an important fix. Because views is so widely used, I'm upping this to normal priority from minor, and marking it as a bug.
Are there other good examples of modules that exclude their settings from views? Maybe we could see what kind of implementation there is for that.
Unfortunately I'm not sure that I have the capacity to write a patch for this at the moment, but if anyone else does I will happily review.
Comment #3
chishah92 CreditAttribution: chishah92 at Blisstering Solutions commentedComment #4
chishah92 CreditAttribution: chishah92 at Blisstering Solutions commentedAdded a patch with the changes.
Thanks!
~Chirag
Comment #5
rootwork@chishah92 Thanks for your contribution!
Unfortunately, this removes the field settings from everywhere -- it basically removes them from the module. We just want to omit them when it appears in a views field setting.
Comment #6
chishah92 CreditAttribution: chishah92 at Blisstering Solutions commentedThe new patch omits the same.
Thanks!
~Chirag
Comment #7
rootworkVery nice!
One request: Let's exclude the new
'field_multiple_limit_order'
settings as well.And one very small nitpick: Use single quotes rather than double quotes to stay consistent with what's already there.
I'm going to let you take care of this so you get all the issue credit :)
Comment #8
rootworkComment #9
chishah92 CreditAttribution: chishah92 at Blisstering Solutions commentedHave updated the changes in this new patch.
Thanks!
~Chirag
Comment #10
rootworkLooks great. I'm going to leave it here for 24 hours in case anyone else wants to review, and then I'll mark as RTBC and commit.
Thanks for your work on this!
Comment #11
mayurjadhav CreditAttribution: mayurjadhav at Blisstering Solutions commentedLooks great. +1 for RTBC.
Comment #12
rootworkThanks for the additional review! Will commit this later today.
Comment #14
rootwork