Here's a simple patch to $rtroot/share/html/REST/1.0/search/ticket to
enable searches to use either format
*** /usr/local/rt/share/html/REST/1.0/search/ticket 2006-05-25
21:11:58.000000000 -0700
--- /tmp/ticket 2006-06-22 14:57:12.634046264 -0700
***************
*** 82,87 ****
--- 82,91 ----
}
my ($n, $s);
+
+ # Allow queries involving CFs to use the REST-style syntax
+ $query =~ s/\bCF-([^\s]+)/CF\.\{$1\}/g;
+
eval {
($n, $s) = $tickets->FromSQL($query);
};
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
We're hiring! Come hack Perl for Best Practical:
http://bestpractical.com/about/jobs.html