[Rt-commit] [svn] r1253 - in rt/branches/3.2-RELEASE: . html/Search/Elements

jesse at pallas.eruditorum.org jesse at pallas.eruditorum.org
Thu Jul 15 15:03:27 EDT 2004


Author: jesse
Date: Thu Jul 15 15:03:26 2004
New Revision: 1253

Modified:
   rt/branches/3.2-RELEASE/   (props changed)
   rt/branches/3.2-RELEASE/html/Search/Elements/DisplayOptions
Log:
 ----------------------------------------------------------------------
 r8220 at tinbook:  jesse | 2004-07-15T19:02:55.020727Z
 
 RT-Ticket: 5891
 RT-Status: open
 RT-Action: correspond
 
 Interim measure to only list sortable fields in the "Sort display by" 
 options.
 
 
 ----------------------------------------------------------------------


Modified: rt/branches/3.2-RELEASE/html/Search/Elements/DisplayOptions
==============================================================================
--- rt/branches/3.2-RELEASE/html/Search/Elements/DisplayOptions	(original)
+++ rt/branches/3.2-RELEASE/html/Search/Elements/DisplayOptions	Thu Jul 15 15:03:26 2004
@@ -76,6 +76,8 @@
 <%INIT>
 my $tickets = new RT::Tickets($session{'CurrentUser'});
 my %fields = %{$tickets->FIELDS};
+map { $fields{$_}->[0] =~ /^(?:ENUM|INT|DATE|STRING)$/ || delete $fields{$_} } keys %fields;
+
 </%INIT>
 
 <%ARGS>


More information about the Rt-commit mailing list