-my $sql = "Requestor.id = ". $Requestor->id;
-if (@$conditions) {
- $sql .= " AND (".join( " OR ", map $_->{cond}, @$conditions).")";
-}
-my $tickets = RT::Tickets->new( $session{'CurrentUser'} );
-$tickets->FromSQL( $sql );
-$tickets->RowsPerPage( $Rows );
-$tickets->OrderBy( FIELD => 'Priority', ORDER => 'DESC' );