From 92706af8c8d28a5ef2cfb312af99a9215f2ace45 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 11 Nov 2011 19:00:09 +0100 Subject: [PATCH] prevent 1970 for never accessed --- pandora/item/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/views.py b/pandora/item/views.py index 6983e80c..86bb1f41 100644 --- a/pandora/item/views.py +++ b/pandora/item/views.py @@ -236,7 +236,7 @@ Positions r = {} for p in _p: if p == 'accessed': - r[p] = m.sort.accessed + r[p] = m.sort.accessed or '' elif p == 'timesaccessed': r[p] = m.sort.timesaccessed else: