Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
eaa9e329
Commit
eaa9e329
authored
Feb 08, 2018
by
Francesc Guasch
Browse files
Enforce the table name for the fields
parent
0265576e
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada/Front.pm
View file @
eaa9e329
...
...
@@ -610,13 +610,13 @@ sub list_requests {
my
$time_recent
=
(
$now
[
5
]
+=
1900
)
.
"
-
"
.
$now
[
4
]
.
"
-
"
.
$now
[
3
]
.
"
"
.
$now
[
2
]
.
"
:
"
.
$now
[
1
]
.
"
:00
";
my
$sth
=
$CONNECTOR
->
dbh
->
prepare
(
"
SELECT requests.id, command, args, date_changed, status
"
"
SELECT requests.id, command, args, date_changed,
requests.
status
"
.
"
,requests.error, id_domain ,domains.name as domain
"
.
"
,date_changed
"
.
"
FROM requests left join domains
"
.
"
ON requests.id_domain = domains.id
"
.
"
WHERE
"
.
"
status <> 'done'
"
.
"
requests.
status <> 'done'
"
.
"
OR ( command = 'download' AND date_changed >= ?)
"
.
"
ORDER BY date_changed DESC LIMIT 10
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment