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

Add description to image search fields #700

Merged
merged 2 commits into from
May 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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