summaryrefslogtreecommitdiff
path: root/modules/g2_import/helpers/g2_import.php
diff options
context:
space:
mode:
authormamouneyya <mamoun.diraneyya@gmail.com>2010-09-20 04:30:34 +0300
committermamouneyya <mamoun.diraneyya@gmail.com>2010-09-20 04:30:34 +0300
commitce80259d6939e43aaea34eba7bea4b2a602a5019 (patch)
tree7ca81d874b62c5a2c0244657aa903d565a7e6b04 /modules/g2_import/helpers/g2_import.php
parentba950bec0c84a1467aa2545ca815d5af7b0b002b (diff)
parent93d1a8103e757a87fb006f2389f0ee24497367a7 (diff)
Merge remote branch 'gallery3/master'
Diffstat (limited to 'modules/g2_import/helpers/g2_import.php')
-rw-r--r--modules/g2_import/helpers/g2_import.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php
index c3737f8f..515eb73d 100644
--- a/modules/g2_import/helpers/g2_import.php
+++ b/modules/g2_import/helpers/g2_import.php
@@ -452,9 +452,9 @@ class g2_import_Core {
"title" => "title",
"viewCount" => "view_count");
$direction_map = array(
- 1 => "asc",
- ORDER_ASCENDING => "asc",
- ORDER_DESCENDING => "desc");
+ 1 => "ASC",
+ ORDER_ASCENDING => "ASC",
+ ORDER_DESCENDING => "DESC");
// Only consider G2's first sort order
$g2_order = explode("|", $g2_album->getOrderBy() . "");
$g2_order = $g2_order[0];