Skip to content
Permalink
Browse files

getCurrents2: added default ordering

  • Loading branch information...
RocketMan committed Jul 9, 2019
1 parent 2eda193 commit b6c70c316eabc7cfd5da6ba623f4244f030f2cf5
Showing with 2 additions and 2 deletions.
  1. +2 −2 engine/impl/Chart.php
@@ -129,8 +129,8 @@ public function getCurrents2($date) {
"a.created, a.updated, a.category, p.name label ".
"FROM currents c, albumvol a, publist p ".
"WHERE c.tag = a.tag AND a.pubkey = p.pubkey ".
"AND adddate <= ? AND ".
"pulldate > ?";
"AND adddate <= ? AND pulldate > ? ".
"ORDER BY a.artist, a.album";
$stmt = $this->prepare($query);
$stmt->bindValue(1, $date);
$stmt->bindValue(2, $date);

0 comments on commit b6c70c3

Please sign in to comment.
You can’t perform that action at this time.