summaryrefslogtreecommitdiff
path: root/lib/Multi/API.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-01-08 10:16:14 +0100
committerYorhel <git@yorhel.nl>2021-01-08 10:16:14 +0100
commita8a3a42357df4da88185f9584b159dc095d6c171 (patch)
treefd72e48c9f968ef00612ffeff51eb6f13710a9ba /lib/Multi/API.pm
parentf13af882adaab2ae963eadaefebeb8a03bb0812b (diff)
Multi::API: Fix harmless perl warning on "get quote" order by random
Diffstat (limited to 'lib/Multi/API.pm')
-rw-r--r--lib/Multi/API.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Multi/API.pm b/lib/Multi/API.pm
index 65bc2ffe..8fa1dedf 100644
--- a/lib/Multi/API.pm
+++ b/lib/Multi/API.pm
@@ -1039,7 +1039,7 @@ my %GET_QUOTE = (
$_[0]{id}*=1;
},
sortdef => 'random',
- sorts => { id => 'q.vid %s', random => 'RANDOM()' },
+ sorts => { id => 'q.vid %s', random => 'RANDOM() %s' },
flags => { basic => {} },
filters => {
id => [