Opened 6 years ago

Last modified 3 years ago

#949 new enhancement

Request new sort column: Filename Extension

Reported by: anonymous Owned by: quinox
Priority: normal Milestone: Release 1.3.0
Component: nicotine Version: 1.2.16
Keywords: Cc:

Description

Having a sort column for sorting by file extension would be really nice

I guess just the Python equivalent of...

( $filename =~ /.\.([a-zA-Z0-9]{1,8})$/ ) ? lc($1) : ""

...would get you it.

(I figure a sanity limit of 8 chars is decent, because "torrent" is the longest extension I've ever seen, at seven characters.)

Change History (1)

comment:1 Changed 3 years ago by gfarmerfr

Milestone: Release 1.2.17Release 1.3.0
Note: See TracTickets for help on using tickets.