[rt-users] Order of attachments

Kevin Falcone falcone at bestpractical.com
Thu Jun 2 18:01:38 EDT 2011


On Thu, Jun 02, 2011 at 11:35:02AM -0700, Yan Seiner wrote:
> Is there some way to specify the order of attachments?  Either
> alphabetical or by date would work.  Right now they seem to be in random
> order.
> 
> We're running 3.8.10.
> 
> I found some old references to
> 
> Set($OldestTransactionsFirst, '1');
> 
> but that seems to have no effect in 3.8.10.

OldestTransactionsFirst is documented in RT_Config.pm for 3.8.10 and
doesn't affect the Attachments Box on Ticket/Display.html

Those attachments appear to be coming out of a hash, which means the
order is guaranteed to be random.

I'd take a patch to add some sorting to that, but it'd need to
maintain the current behavior that attachments of the same name group
together by date.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110602/769fa022/attachment.sig>


More information about the rt-users mailing list