Skip to content

Conversation

@minitriga
Copy link
Contributor

Fixes: #8894

@minitriga
Copy link
Contributor Author

minitriga commented May 3, 2022

Updated. Cheers for the review.

Just to note that get_full_name will return first and last name individually if the other is not set.

For example if the first_name is not defined it will only show surname.

>>> User.objects.get(pk=2).first_name
''
>>> User.objects.get(pk=2).last_name
'Gittings'
>>> User.objects.get(pk=2).get_full_name()
'Gittings'

image

@jeremystretch jeremystretch merged commit 52b1839 into netbox-community:develop May 4, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show full usernames when filtering

2 participants