api2/types/tape/media: add media_set_ctime to MediaContentEntry
to be able to better sort in the ui Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
cc2a0b12f8
commit
50a4797fb1
@ -315,6 +315,7 @@ pub fn list_content(
|
||||
pool: set.pool.clone(),
|
||||
media_set_name: media_set_name.clone(),
|
||||
media_set_uuid: set.uuid.clone(),
|
||||
media_set_ctime: set.ctime,
|
||||
seq_nr: set.seq_nr,
|
||||
snapshot: snapshot.to_owned(),
|
||||
backup_time: backup_dir.backup_time(),
|
||||
|
@ -138,6 +138,8 @@ pub struct MediaContentEntry {
|
||||
pub media_set_name: String,
|
||||
/// Media set uuid
|
||||
pub media_set_uuid: Uuid,
|
||||
/// MediaSet Creation time stamp
|
||||
pub media_set_ctime: i64,
|
||||
/// Media set seq_nr
|
||||
pub seq_nr: u64,
|
||||
/// Media Pool
|
||||
|
Loading…
Reference in New Issue
Block a user