From: Jan Büren Date: Fri, 1 Jan 2021 09:46:24 +0000 (+0100) Subject: POD fix: Rose Syntax X-Git-Tag: kivitendo-mebil_0.1-0~9^2~543 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=95f21f71c1c5c2f6cf6a281a0174d8f247be1135;p=kivitendo-erp.git POD fix: Rose Syntax Zeitvergleich braucht { . ilike gibt es nicht in Rose: like_operator => 'like', # only applicable to Postgres, defaulted to undef, i.e. render_as_table() uses 'ilike' for Postgres by default --- diff --git a/SL/Controller/Helper/ParseFilter.pm b/SL/Controller/Helper/ParseFilter.pm index 8b68ee56e..e1b621f16 100644 --- a/SL/Controller/Helper/ParseFilter.pm +++ b/SL/Controller/Helper/ParseFilter.pm @@ -297,10 +297,11 @@ customer. L allows you to search for these by filtering them p query => [ 'customer.name' => 'John Doe', - 'department.description' => [ ilike => '%Sales%' ], - 'orddate' => [ lt => DateTime->today ], + 'department.description' => [ like => '%Sales%' ], + 'orddate' => { lt => DateTime->today }, ] + Unfortunately, if you specify them in your form as these strings, the form parser will convert them into nested structures like this: