-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix task filtering and sorting. (#659)
Fix issues reported [here](konveyor/tackle2-ui#1931 (comment)). 1. sorting seems to work only for `id` field i.e. 2. filtering not supported for `createUser` and `id` fields( both listed in the enhancement) 3. application name is missing in the response and in filtering. Filtering by application ID works but this is not so nice. 4. `priority` is missing in the response and in the filtering 5. for `kind` the filtering is supported by the server but it seems it's not included in the response --- Filter and sorting: needed to support GORM join queries which qualifies fields by table. Example: For a task query joined with application, produces all of the task fields qualified as table.column: ``` SELECT task.id, task.name ... ``` And the (joined) application fields prefixed with `APPLICATION__` ``` SELECT APPLICATION__ID, APPLICATION__NAME ... ``` --------- Signed-off-by: Jeff Ortel <jortel@redhat.com>
- Loading branch information
Showing
3 changed files
with
69 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters