From d52208c126e6546748122af6c46e843ab7bd2794 Mon Sep 17 00:00:00 2001 From: Alex Zai Date: Wed, 2 Dec 2015 14:42:33 -0800 Subject: [PATCH] (fix) remove orderBy --- src/config.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/config.py b/src/config.py index 3325211..996a4fa 100644 --- a/src/config.py +++ b/src/config.py @@ -9,9 +9,9 @@ AUTH_URL = 'https://accounts.google.com/o/oauth2/auth?scope=%s&redirect_uri=%s&response_type=code&client_id=%s&access_type=offline&approval_prompt=force' % (SCOPE, REDIRECT_URI, CLIENT_ID) TOKEN_URL = 'https://www.googleapis.com/oauth2/v3/token' -FILES_URL = 'https://www.googleapis.com/drive/v2/files?orderBy=lastViewedByMeDate+desc&fields=items' +FILES_URL = 'https://www.googleapis.com/drive/v2/files?fields=items' -CACHE_MAX_AGE = 60*60 # cache set to 1 hour +CACHE_MAX_AGE = 60*60*24*30 # cache set to 1 month SETTINGS = { 'LOGIN' : { @@ -40,8 +40,6 @@ } } - - OPTIONS = [ { 'title' : 'Search Google Drive', @@ -53,7 +51,6 @@ } ] - ERRORS = { 'ConnectionError' : { 'title' : 'Error with connection',