[Rt-commit] r4683 - in rtir/branches/1.9-EXPERIMENTAL:
html/Callbacks/RTIR/Elements/ShowCustomFields
html/Callbacks/RTIR/Search/Elements/PickCFs
alexmv at bestpractical.com
alexmv at bestpractical.com
Sat Mar 4 04:34:43 EST 2006
Author: alexmv
Date: Sat Mar 4 04:34:42 2006
New Revision: 4683
Added:
rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Elements/ShowCustomFields/
rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Elements/ShowCustomFields/MassageCustomFields
Modified:
rtir/branches/1.9-EXPERIMENTAL/ (props changed)
rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Search/Elements/PickCFs/MassageCustomFields
Log:
r9463 at zoq-fot-pik: chmrr | 2006-03-03 21:07:47 -0800
* Correctly hide RTIR CFs
Added: rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Elements/ShowCustomFields/MassageCustomFields
==============================================================================
--- (empty file)
+++ rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Elements/ShowCustomFields/MassageCustomFields Sat Mar 4 04:34:42 2006
@@ -0,0 +1,8 @@
+<%args>
+$CustomFields => undef
+
+</%args>
+<%init>
+# We never want to see the RTIR custom fields in the edity ui
+$CustomFields->Limit( FIELD => 'Name', OPERATOR => 'NOT STARTSWITH', VALUE => '_RTIR');
+</%init>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Search/Elements/PickCFs/MassageCustomFields
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Search/Elements/PickCFs/MassageCustomFields (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Search/Elements/PickCFs/MassageCustomFields Sat Mar 4 04:34:42 2006
@@ -4,5 +4,5 @@
</%args>
<%init>
# We never want to see the RTIR custom fields in the edity ui
-$CustomFields->Limit( FIELD => 'Name', OPERATOR => 'NOT LIKE', '_RTIR');
+$CustomFields->Limit( FIELD => 'Name', OPERATOR => 'NOT STARTSWITH', VALUE => '_RTIR');
</%init>
More information about the Rt-commit
mailing list