summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-09-08 19:43:21 +0200
committerhut <hut@lavabit.com>2011-09-08 19:43:21 +0200
commitd873a5604911659080acd7ba9788da6698641f4c (patch)
treef84c9754a7ac9834dc1ec75c8eeecaefe776c708 /ranger
parent82e00fd6f00c0202a36be49461d7a1151633c651 (diff)
downloadranger-d873a5604911659080acd7ba9788da6698641f4c.tar.gz
add cycling by mtime and atime
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 3281964e..d77f2a86 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -407,7 +407,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 
 			return self.env.cwd.search_fnc(fnc=fnc, offset=offset, forward=forward)
 
-		elif order in ('size', 'mimetype', 'ctime'):
+		elif order in ('size', 'mimetype', 'ctime', 'mtime', 'atime'):
 			cwd = self.env.cwd
 			if original_order is not None or not cwd.cycle_list:
 				lst = list(cwd.files)