Edgewall Software

Changes between Version 39 and Version 40 of TracQuery


Ignore:
Timestamp:
Aug 16, 2013, 10:19:00 PM (11 years ago)
Author:
Remy Blank
Comment:

Reverted to version 38. The operators are correct for query: links and [[TicketQuery()]] macros, and should not be confused with the URL parameters. The fact that placing the modifiers after the = works is purely coincidental and should not be relied upon.

Legend:

Unmodified
Added
Removed
Modified
  • TracQuery

    v39 v40  
    122122The available operators are:
    123123|| '''`=`''' || the field content exactly matches one of the values ||
    124 || '''`=~`''' || the field content contains one or more of the values ||
    125 || '''`=^`''' || the field content starts with one of the values ||
    126 || '''`=$`''' || the field content ends with one of the values ||
     124|| '''`~=`''' || the field content contains one or more of the values ||
     125|| '''`^=`''' || the field content starts with one of the values ||
     126|| '''`$=`''' || the field content ends with one of the values ||
    127127
    128128All of these operators can also be negated:
    129 || '''`=!`''' || the field content matches none of the values ||
    130 || '''`=!~`''' || the field content does not contain any of the values ||
    131 || '''`=!^`''' || the field content does not start with any of the values ||
    132 || '''`=!$`''' || the field content does not end with any of the values ||
     129|| '''`!=`''' || the field content matches none of the values ||
     130|| '''`!~=`''' || the field content does not contain any of the values ||
     131|| '''`!^=`''' || the field content does not start with any of the values ||
     132|| '''`!$=`''' || the field content does not end with any of the values ||
    133133
    134134The date fields `created` and `modified` can be constrained by using the `=` operator and specifying a value containing two dates separated by two dots (`..`). Either end of the date range can be left empty, meaning that the corresponding end of the range is open. The date parser understands a few natural date specifications like "3 weeks ago", "last month" and "now", as well as Bugzilla-style date specifications like "1d", "2w", "3m" or "4y" for 1 day, 2 weeks, 3 months and 4 years, respectively. Spaces in date specifications can be left out to avoid having to quote the query string.