Describe the bug
when type is changed to domain , User. It gives an error TypeError
To Reproduce
Steps to reproduce the behavior:
- Go to 'base_url/api/v1/search/'
- Click on 'type'
- change down to 'domain/user'
- search anything in it
- See error
Expected behavior
should show the revelant data
Screenshots
