Skip to content

Commit

Permalink
Merge pull request #1422 from yrudman/added-new-columns-to-task-view
Browse files Browse the repository at this point in the history
Follow-up after merging 'MiqTask' and 'Job' views - add former job specific columns to task view
  • Loading branch information
martinpovolny authored May 24, 2017
2 parents 9486ba9 + 71b3ed7 commit 8dc1649
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 92 deletions.
89 changes: 0 additions & 89 deletions product/views/Job.yaml

This file was deleted.

10 changes: 7 additions & 3 deletions product/views/MiqTask.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ db: MiqTask
# Columns to fetch from the main table
cols:
- updated_on
- started_on
- created_on
- state
- message
Expand All @@ -29,28 +30,31 @@ cols:

# Included tables (joined, has_one, has_many) and columns
include:
job:
miq_server:
columns:
- target_class
- target_id
- name

# Order of columns (from all tables)
col_order:
- updated_on
- started_on
- created_on
- state
- message
- name
- userid
- miq_server.name

# Column titles, in order
headers:
- Updated
- Started
- Queued
- State
- Message
- Task Name
- User
- Server

# Condition(s) string for the SQL query
conditions: {}
Expand Down

0 comments on commit 8dc1649

Please sign in to comment.