On Wednesday, September 5, 2018 at 5:22:45 AM UTC-7, Mo wrote:
>
> Hello,
>
> we have a custom field defined like
>
> [ticket-custom]
> duedate = time
> duedate.format = date
> duedate.label = Due date
> duedate.order = 2
>
> However it does not work to search for that field like it is possible for 
> Created for instance:
>
> [[TicketQuery(format=table,status=new,created=lastmonth..thismonth)]]
> works.
>
> [[TicketQuery(format=table,status=new,duedate=lastmonth..thismonth)]]
> returns invalid input syntax for integer: ""
>

The Query for duedate works for me in Trac 1.2.4dev.
 
You have to be running Trac 1.2.x to use fields of type time. Assuming you 
are, I would take a look in the logs next. Perhaps the issue is caused by a 
plugin.

Actually due date can also be empty. How to search for a duedate=""?
>

Looks like a defect:
https://trac.edgewall.org/ticket/13078

- Ryan
 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to