Similar to #2022127: Change status filter on admin/content to 'published'/'unpublished' but for the People view.
Now that #1998192: Allow the boolean labels of exposed filters to be configurable is in, lets change the "Active" 'yes'/'no' filter to "Status" 'active'/'blocked'.
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | vdc-2024893-19.patch | 6.48 KB | bdone |
| #19 | interdiff-19-16.txt | 6 KB | bdone |
| #16 | vdc-2024893-16.patch | 11.58 KB | bdone |
| #16 | interdiff-16-7.txt | 555 bytes | bdone |
| #15 | vdc-2024893-15.patch | 555 bytes | bdone |
Comments
Comment #1
bdone commentedchanges defaults for the status exposed filter to 'active' or 'blocked', instead of yes/no. also updates the default label to "Active status".
Comment #2
bdone commentedComment #4
dawehnerOH, there are actually bugs in the code.
Comment #5
bdone commentedthanks @dawehner. i added a minor typo fix in the new test.
Comment #6
damiankloip commentedNeeds a docblock.
Otherwise, looks good to go!
Comment #7
dawehnerThere we go.
Comment #8
damiankloip commentedThank you, looks fine. I expected that to pass, as it's just a comment addition.
Comment #9
yesct commentedThis issue was RTBC and passing tests on July 1, the beginning of API freeze.
Comment #10
catchI get the 'active/blocked' change but not 'Active status'. Why not just 'status'?
Comment #11
bdone commented@catch: i was going for consistency with views hook_views_data() declaration in core/modules/user/user.views.inc...
but, "Active" does seem more straight forward for the UI.
Comment #12
bdone commentedinterfidd :)
Comment #13
klonos:D
Comment #14
dawehnerOH i thought catch suggested to use "Status" and not "Active" ?
Comment #15
bdone commentedyou're right! sorry about that.
Comment #16
bdone commentedwhoops (again), patched against wrong branch! here we go again.
Comment #17
dawehnerThank you!
Comment #18
catch#16 looks like the wrong patch.
Also why not change the user views data to 'Status' instead of 'Active status' rather than the default view in this case?
Comment #19
bdone commentedSorry about #16. Here's a re-roll with suggestions from #18, changing the field label to only 'Status'.
Comment #20
dawehnerI am sorry that I didn't looked at the actual patch.
Comment #21
catchCommitted/pushed to 8.x, thanks!