From c8a25928444f4b6ccc40e73c37119a3c11d1325b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 19 Feb 2015 13:37:52 +0100 Subject: [PATCH] =?utf8?q?Pflichtenheft-CVar-Suche:=20Controls=20f=C3=BCr?= =?utf8?q?=20Vergleichsoperatoren=20beibehalten?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- templates/webpages/common/render_cvar_filter_input.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/webpages/common/render_cvar_filter_input.html b/templates/webpages/common/render_cvar_filter_input.html index b1467c215..4ec984b76 100644 --- a/templates/webpages/common/render_cvar_filter_input.html +++ b/templates/webpages/common/render_cvar_filter_input.html @@ -6,11 +6,11 @@ [%- L.select_tag(name__, [ '', [ 1, LxERP.t8('Yes') ], [ 0, LxERP.t8('No') ] ], default=value__, class=cvar_class) %] [%- ELSIF cvar_cfg.type == 'number' %] - [% L.select_tag(name__ _ '::', [ [ 'eq', '==' ], [ 'ne', '=/=' ], [ 'gt', '>' ], [ 'ge', '>=' ], [ 'lt', '<' ], [ 'le', '<=' ] ]) %] + [% L.select_tag(name__ _ '::', [ [ 'eq', '==' ], [ 'ne', '=/=' ], [ 'gt', '>' ], [ 'ge', '>=' ], [ 'lt', '<' ], [ 'le', '<=' ] ], default=filter.cvar.item(cvar_cfg.id _ '__')) %] [% L.input_tag(name__, value__, class=cvar_class) %] [%- ELSIF cvar_cfg.type == 'date' %] - [% L.select_tag(name__ _ '::', [ [ 'eq', '==' ], [ 'ne', '=/=' ], [ 'gt', '>' ], [ 'ge', '>=' ], [ 'lt', '<' ], [ 'le', '<=' ] ]) %] + [% L.select_tag(name__ _ '::', [ [ 'eq', '==' ], [ 'ne', '=/=' ], [ 'gt', '>' ], [ 'ge', '>=' ], [ 'lt', '<' ], [ 'le', '<=' ] ], default=filter.cvar.item(cvar_cfg.id _ '__')) %] [% L.date_tag(name__, value__, class=cvar_class) %] [% ELSIF cvar_cfg.type == 'select' %] -- 2.20.1