path: root/lib/VNDB/DB/
diff options
authorYorhel <>2012-07-28 10:33:59 +0200
committerYorhel <>2012-07-28 10:33:59 +0200
commita2eced78622ef3b53f87f822be238cc40e783f3b (patch)
tree2134a91d2f47ea0ac6a91d66b59deebc6b66a906 /lib/VNDB/DB/
parent026361987b8799fe198921a3ad65aa0b1440b785 (diff)
DB::Releases: Use id as secondary order when sorting on date
This is under the assumption that earlier releases are added earlier, even when they're released on the same date. (E.g. in the case of v9678)
Diffstat (limited to 'lib/VNDB/DB/')
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/DB/ b/lib/VNDB/DB/
index f8271031..a2f1363c 100644
--- a/lib/VNDB/DB/
+++ b/lib/VNDB/DB/
@@ -87,7 +87,7 @@ sub dbReleaseGet {
resolution => 'rr.resolution %s, rr.patch %2$s, rr.released %1$s, rr.title %1$s',
voiced => 'rr.voiced %s, rr.patch %2$s, rr.released %1$s, rr.title %1$s',
ani_ero => 'rr.ani_story %s, rr.ani_ero %1$s, rr.patch %2$s, rr.released %1$s, rr.title %1$s',
- released => 'rr.released %s, rr.title %1$s',
+ released => 'rr.released %s, %1$s',
minage => 'rr.minage %s, rr.released %1$s, rr.title %1$s',
notes => 'rr.notes %s, rr.released %1$s, rr.title %1$s',
}->{ $o{sort}||'released' }, $o{reverse} ? 'DESC' : 'ASC', !$o{reverse} ? 'DESC' : 'ASC';