It's not too hard to add it and mongodb does not work without this. I am sure more types can be added. But this is a rather good start.

CommentFileSizeAuthor
efq.patch3.4 KBchx

Comments

chx’s picture

Status: Active » Needs review
dawehner’s picture

Alternative the handler could be changed and implement the method pre_query.

There it would be possible to alter $this->value and set what's needed.
Not sure which way is better.

chx’s picture

This is the better way because it's faster to cast on store than on query.

chx’s picture

Oh and don't forget that we have the metadata necessary at hand for the form and not quite so for the query. We could retrieve but why bother.

bojanz’s picture

Status: Needs review » Fixed

Added a few comments & committed the patch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.