Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 95f21f71

Von Jan Büren vor fast 4 Jahren hinzugefügt

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

Unterschiede anzeigen:

SL/Controller/Helper/ParseFilter.pm
297 297

  
298 298
  query => [
299 299
    'customer.name'          => 'John Doe',
300
    'department.description' => [ ilike => '%Sales%' ],
301
    'orddate'                => [ lt    => DateTime->today ],
300
    'department.description' => [ like => '%Sales%' ],
301
    'orddate'                => { lt    => DateTime->today },
302 302
  ]
303 303

  
304

  
304 305
Unfortunately, if you specify them in your form as these strings, the form
305 306
parser will convert them into nested structures like this:
306 307

  

Auch abrufbar als: Unified diff