Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #700 from calvinmclean/image_search
Browse files Browse the repository at this point in the history
Add description to image search fields
  • Loading branch information
julianpistorius authored May 9, 2019
2 parents fc7df0c + 116c8eb commit 4eb1038
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
([#677](https://github.com/cyverse/atmosphere/pull/677))
- Add support for CAS 5
([#692](https://github.com/cyverse/atmosphere/pull/692))
- Add 'description' to image search fields
([#700](https://github.com/cyverse/atmosphere/pull/700))

### Changed
- Refactored email to make variables and methods used for sending emails
Expand Down
4 changes: 2 additions & 2 deletions api/v2/views/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ class ImageViewSet(MultipleFieldLookup, AuthOptionalViewSet):
)
filter_class = ImageFilter
search_fields = (
'id', 'name', 'versions__change_log', 'tags__name', 'tags__description',
'created_by__username',
'id', 'description', 'name', 'versions__change_log', 'tags__name',
'tags__description', 'created_by__username',
'versions__machines__instance_source__identifier',
'versions__machines__instance_source__provider__location'
)
Expand Down

0 comments on commit 4eb1038

Please sign in to comment.