From: Moritz Bunkus Date: Thu, 19 Feb 2015 12:37:52 +0000 (+0100) Subject: Pflichtenheft-CVar-Suche: Controls für Vergleichsoperatoren beibehalten X-Git-Tag: release-3.2.1~51^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c8a25928444f4b6ccc40e73c37119a3c11d1325b;p=kivitendo-erp.git Pflichtenheft-CVar-Suche: Controls für Vergleichsoperatoren beibehalten --- 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' %]