Commit e894c311 authored by Francesc Guasch's avatar Francesc Guasch Committed by Francesc Guasch
Browse files

refactor(frontend): list all pending requests

issue #828
parent 54fbfbc0
......@@ -293,6 +293,17 @@ sub _update_isos {
,file_re => 'kubuntu-18.04-desktop-i386.iso'
,rename_file => 'kubuntu_bionic_32.iso'
}
,suse_15 => {
name => "openSUSE Leap 15"
,description => "openSUSE Leap 15 64 bits"
,arch => 'amd64'
,xml => 'bionic-amd64.xml'
,xml_volume => 'bionic64-volume.xml'
,url => 'https://download.opensuse.org/distribution/leap/15.0/iso/'
,md5_url => '$url/openSUSE-Leap-15.\d+-NET-x86_64.iso.sha256'
,file_re => 'openSUSE-Leap-15.\d+-NET-x86_64.iso'
}
,xubuntu_beaver_64 => {
name => 'Xubuntu Bionic Beaver 64 bits'
,description => 'Xubuntu 18.04 Bionic Beaver 64 bits'
......
......@@ -796,7 +796,7 @@ sub list_requests($self, $id_domain_req=undef, $seconds=60) {
." WHERE "
." requests.status <> 'done' "
." OR ( date_changed >= ?) "
." ORDER BY date_changed DESC LIMIT 10"
." ORDER BY date_changed "
);
$sth->execute($time_recent);
my @reqs;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment