From: Sven Schöling Date: Mon, 23 Apr 2012 15:21:33 +0000 (+0200) Subject: filter_prefix für CVar->render_search_options X-Git-Tag: release-3.0.0beta1~343^2~7 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c4713436b68fcaad7f7f14ace8d28aefb820a1e4;p=kivitendo-erp.git filter_prefix für CVar->render_search_options --- diff --git a/SL/CVar.pm b/SL/CVar.pm index 6d04f35a9..714744a1a 100644 --- a/SL/CVar.pm +++ b/SL/CVar.pm @@ -402,6 +402,7 @@ sub render_search_options { $params{include_prefix} = 'l_' unless defined($params{include_prefix}); $params{include_value} ||= '1'; + $params{filter_prefix} ||= ''; my $filter = $form->parse_html_template('amcvar/search_filter', \%params); my $include = $form->parse_html_template('amcvar/search_include', \%params); diff --git a/templates/webpages/amcvar/search_filter.html b/templates/webpages/amcvar/search_filter.html index db37d08a7..37f722b12 100644 --- a/templates/webpages/amcvar/search_filter.html +++ b/templates/webpages/amcvar/search_filter.html @@ -8,7 +8,7 @@ [%- IF var.type == 'bool' %] - @@ -16,10 +16,10 @@ [%- ELSIF var.type == 'date' %] [% 'from (time)' | $T8 %] - + [% 'to (time)' | $T8 %] - + [%- ELSIF var.type == 'number' %] - @@ -47,10 +47,10 @@ [%- ELSIF var.type == 'customer' %] - + [% ELSIF var.type == 'select' %] - [%- FOREACH option = var.OPTIONS %] @@ -58,7 +58,7 @@ [%- ELSE %] - + [%- END %]