[Rt-commit] [svn] r934 - rt/branches/rt-3.3/html/Search/Elements

leira at pallas.eruditorum.org leira at pallas.eruditorum.org
Wed May 19 12:23:57 EDT 2004


Author: leira
Date: Wed May 19 12:23:49 2004
New Revision: 934

Modified:
   rt/branches/rt-3.3/html/Search/Elements/PickCFs
Log:
Move file from 3.1 so that CF searching will work.


Modified: rt/branches/rt-3.3/html/Search/Elements/PickCFs
==============================================================================
--- rt/branches/rt-3.3/html/Search/Elements/PickCFs	(original)
+++ rt/branches/rt-3.3/html/Search/Elements/PickCFs	Wed May 19 12:23:49 2004
@@ -23,16 +23,22 @@
 %# END LICENSE BLOCK
 <table cellspacing=0 border=0>
 % while ( my $CustomField = $CustomFields->Next ) {
-
 <tr><td>
 
+% my $name;
+% if ($CustomField->QueueObj) {
+%   $name = "CF." . $CustomField->QueueObj->Name . 
+%	".{" . $CustomField->Name . "}";
+% } else {
+%   $name = "CF." . $CustomField->Name;
+% }
 <% $CustomField->Name %> 
-        <& /Elements/SelectCustomFieldOperator, Name => "CustomFieldOp". $CustomField->id, 
+        <& /Elements/SelectCustomFieldOperator, Name => $name . "Op", 
                                     True => loc("is"), 
                                     False => loc("isn't"), 
                                     TrueVal=> '=', FalseVal => '!=' &>
 
-<& /Elements/SelectCustomFieldValue, Name => "CustomField".$CustomField->id,
+<& /Elements/SelectCustomFieldValue, Name => "ValueOf" . $name,
                             CustomField => $CustomField,
                             &>
 </td></tr>


More information about the Rt-commit mailing list