Hello, folks.
Again resubmit.
Changes:
- Get rid of useless join
- allow user to search on different values of one CF with
entryaggregator ‘OR’.
This patch also applies to 3.2 but I didn’t test that it’s sane for 3.2
Best regards. Ruslan.
Search_on_SelectMultiple_CF.patch (1.24 KB)
In 3.2 search doesn’t work well.
Example for rt3.fsck.com:
Search
“Queue = ‘RT Bugs’ AND ‘CF.RT Bugs.{Broken in}’ = ‘2.0.14’ AND ‘CF.RT
Bugs.{Broken in}’ = ‘2.0.13’”
doesn’t find anything, but ticket 1250 matches this criteria.
Ruslan U. Zakirov wrote:
Can you resubmit this patch with tests that fail without it and pass
with it?
Tickets_Overlay* is easily some of the most knotty code in the product.
JesseOn Sep 3, 2004, at 9:55 AM, Ruslan U. Zakirov wrote:
<Search_on_SelectMultiple_CF.patch>
Attached patch adds four tests
Also while writing test cases I found that RT::Tickets->UnLimit doesn’t
drop CF limits.
Best regards. Ruslan.
Jesse Vincent wrote:
Search_on_SelectMultiple_CF_TestSuite.patch (2.35 KB)