diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-08-08 10:14:29 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-08-08 10:14:29 -0700 |
commit | a22cf8cf1c1f3eccedb01ab4629e579c95594dae (patch) | |
tree | b2be0a485a59e8a2bcefd5e5b549ec60656adf25 /modules/g2_import | |
parent | b7700d1eec02caa794629adcc0555d7c9f0c1414 (diff) |
Handle "1" as a default order direction in G2. Why would we ever do that? Dunno.
Fixes ticket #1276.
Diffstat (limited to 'modules/g2_import')
-rw-r--r-- | modules/g2_import/helpers/g2_import.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php index 4aa9e642..4817ec04 100644 --- a/modules/g2_import/helpers/g2_import.php +++ b/modules/g2_import/helpers/g2_import.php @@ -442,6 +442,7 @@ class g2_import_Core { "title" => "title", "viewCount" => "view_count"); $direction_map = array( + 1 => "asc", ORDER_ASCENDING => "asc", ORDER_DESCENDING => "desc"); // Only consider G2's first sort order |