From d27e783e5b132b28820a08775e7256f8936aab45 Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 15 Nov 2013 22:37:43 +0000 Subject: feature 1668: nb_image_page or recent_period in database will automatically take the nearest (bigger) value in the value list git-svn-id: http://piwigo.org/svn/trunk@25492 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/user_list.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/themes/default/template/user_list.tpl b/admin/themes/default/template/user_list.tpl index 7e287fadb..426c334d7 100644 --- a/admin/themes/default/template/user_list.tpl +++ b/admin/themes/default/template/user_list.tpl @@ -97,7 +97,7 @@ jQuery(document).ready(function() { */ function getSliderKeyFromValue(value, values) { for (var key in values) { - if (values[key] == value) { + if (values[key] >= value) { return key; } } -- cgit v1.2.3