Closed
Bug 315451
Opened 19 years ago
Closed 13 years ago
User List should have "don't show disabled users" option
Categories
(Bugzilla :: Administration, task)
Bugzilla
Administration
Tracking
()
RESOLVED
FIXED
Bugzilla 4.4
People
(Reporter: jhg, Assigned: timello)
References
Details
Attachments
(1 file, 1 obsolete file)
1.40 KB,
patch
|
glob
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 The user list page editusers.cgi?action=list would benefit greatly from a "don't show disabled users" checkbox so that one could work with only current users in the list when desired. Reproducible: Always Steps to Reproduce:
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•13 years ago
|
Assignee: user-accounts → administration
Component: User Accounts → Administration
Assignee | ||
Comment 2•13 years ago
|
||
A checkbox for "enabled users only" that was checked by default.
Comment on attachment 562908 [details] [diff] [review] v1 r=glob with the following fixed on commit: >+ <input type="checkbox" name="enabledonly" value="1" id="enabledonly" checked /> we don't serve xhtml, you don't need to close the input element.
Attachment #562908 -
Flags: review?(glob) → review+
Comment 4•13 years ago
|
||
Comment on attachment 562908 [details] [diff] [review] v1 >=== modified file 'editusers.cgi' >+ if ($enabled_only eq '1') { >+ $query .= " $nextCondition profiles.is_enabled = 1 "; >+ } Please set nextCondition = 'AND' if this code is triggered, in case future code is added. This was not needed for |if ($grouprestrict eq '1')| only because this check was already done earlier in the code. >=== modified file 'template/en/default/admin/users/search.html.tmpl' >+ <input type="checkbox" name="enabledonly" value="1" id="enabledonly" checked /> enabled_only would be more readable + what glob said about XHTML. >+ <label for="enabledonly">Enabled users only</label> "Enabled user accounts only" would be more accurate.
Assignee | ||
Comment 5•13 years ago
|
||
Attachment #562908 -
Attachment is obsolete: true
Attachment #563121 -
Flags: review?(LpSolit)
Assignee | ||
Updated•13 years ago
|
Attachment #563121 -
Flags: review?(LpSolit) → review?(glob)
Comment on attachment 563121 [details] [diff] [review] v2 r=glob :)
Attachment #563121 -
Flags: review?(glob) → review+
Comment 7•13 years ago
|
||
Comment on attachment 563121 [details] [diff] [review] v2 >=== modified file 'template/en/default/admin/users/search.html.tmpl' >+ <input type="checkbox" name="enabled_only" value="1" id="enabled_only" checked> On checkin, please write checked="checked" (as we do elsewhere in the code).
Updated•13 years ago
|
Flags: approval? → approval+
Target Milestone: --- → Bugzilla 5.0
Assignee | ||
Comment 8•13 years ago
|
||
Committing to: bzr+ssh://timello%40gmail.com@bzr.mozilla.org/bugzilla/trunk/ modified editusers.cgi modified template/en/default/admin/users/search.html.tmpl Committed revision 7970.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•