[Rt-commit] r14583 - in rt/3.8/trunk: share/html/Search/Elements
falcone at bestpractical.com
falcone at bestpractical.com
Mon Jul 28 14:42:26 EDT 2008
Author: falcone
Date: Mon Jul 28 14:42:25 2008
New Revision: 14583
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/share/html/Search/Elements/DisplayOptions
Log:
r36303 at ketch: falcone | 2008-07-28 14:41:20 -0400
* to handle "id = '__Bookmarks__'" TicketSQL we marked Ticket's id as an ID column
rather than an INT column. This means id is no longer available as an Order By
column in Query Builder
Modified: rt/3.8/trunk/share/html/Search/Elements/DisplayOptions
==============================================================================
--- rt/3.8/trunk/share/html/Search/Elements/DisplayOptions (original)
+++ rt/3.8/trunk/share/html/Search/Elements/DisplayOptions Mon Jul 28 14:42:25 2008
@@ -103,7 +103,7 @@
<%INIT>
my $tickets = new RT::Tickets($session{'CurrentUser'});
my %fields = %{$tickets->FIELDS};
-map { $fields{$_}->[0] =~ /^(?:ENUM|INT|DATE|STRING)$/ || delete $fields{$_} } keys %fields;
+map { $fields{$_}->[0] =~ /^(?:ENUM|INT|DATE|STRING|ID)$/ || delete $fields{$_} } keys %fields;
delete $fields{'EffectiveId'};
$fields{'Owner'} = 1;
$fields{ $_ . '.EmailAddress' } = 1 foreach( qw(Requestor Cc AdminCc) );
More information about the Rt-commit
mailing list