Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2012 at 11:25 UTC
Updated:
26 Jul 2017 at 10:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerHere is a small patch doing it.
Comment #2
dqdDreditor likes the patch. Code seems fine so far ;-) Thanks dereine!
Tested on views latest --dev here on a Drupal 7.12 Ubuntu testing stage with no errors. And I assume that it works as expected. If there is no field selected, the two other options below (Use rendered output to group rows and Remove tags from rendered output are not shown until a field is selected to group. Perfect.
Additional comment: But what I still worry for usability experience initiative is an intuitive understandable description for the way the user can prevent the field showing twice, if it is used for grouping. This is not obvious from the two descriptions at the two checkable options, how to achieve this. 1.) The user could be missleaded from the term "tags" and, 2.) since he is not on the edit point of the field itself where he can exlude it from display, he will still see the field twice, no matter if he checks the Use rendered output option or not. Only the experienced user knows, that he has to check the first option, even if he doesn't see the final result yet, and has to go into the single field edit afterwards to "exclude it from display" to achieve the final result. In the case you don't like the longer description, ignore the attached patch below.
But as I sad, the patch at its own works and the code is clean. So, RTBC from me.
dereine++
Comment #3
dqd*grmf *...
removed additional white space in the description.
By that chance I made the text a little shorter and added patch version.
Sorry
(not sure about the use of the terminus "checked" here. We may should prever "enabled".)
Comment #4
dawehnerBeside the fact that your patch doesn't apply i think it would make more sense to add this description to the select not to the group rendered checkbox, as this checkbox sets whether you want to group by the actual value in the DB or by the rendered output.
Comment #5
dawehnerOkay commited without the new description. Maybe create an additional issue if the description should be added.
Comment #6
dqdNot sure if I would move the description elsewhere. I would leave it exactly there where the checkbox affects the described scenario. But you are right: maybe this should be discussed in another issue.
Comment #7
mustanggb commented