File tree Expand file tree Collapse file tree
components/resources/time_entries/filters Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ func initWorkPackagesFlags() {
66 "assignee" ,
77 "a" ,
88 "" ,
9- "Assignee of the work package (can be name, ID or 'me')" ,
9+ "Assignee of the work package (can be ID or 'me')" ,
1010 )
1111
1212 workPackagesCmd .Flags ().Uint64VarP (
Original file line number Diff line number Diff line change @@ -11,10 +11,9 @@ import (
1111)
1212
1313// validates the value is one or more of the following - separated by commas
14- // - a valid login (see https://github.com/opf/openproject/blob/dev/app/models/user.rb#L135)
1514// - a numeric id
1615// - me
17- const validValueRegexp = `^([\pL0-9_\-@.+ ]+|[ 0-9]+|me)(,([\pL0-9_\-@.+ ]+| [0-9]+|me))*$`
16+ const validValueRegexp = `^([0-9]+|me)(,([0-9]+|me))*$`
1817
1918type UserFilter struct {
2019 value string
@@ -37,7 +36,7 @@ func (f *UserFilter) ShortHand() string {
3736}
3837
3938func (f * UserFilter ) Usage () string {
40- return `User the time entry tracks expenditures for (can be name, ID or 'me')`
39+ return `User the time entry tracks expenditures for (can be ID or 'me')`
4140}
4241
4342func (f * UserFilter ) ValidateInput () error {
You can’t perform that action at this time.
0 commit comments