Opened 17 years ago

Closed 16 years ago

Last modified 15 years ago

#260 closed enhancement (fixed)

Add numeric sorting to Omega (scriptindex only)

Reported by: Yevgeny Binder Owned by: Olly Betts
Priority: normal Milestone: 1.0.13
Component: Omega Version: 1.0.6
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description

This is a small patch to scriptindex to allow indexing a database column so that it is sorted numerically instead of using string compare. To use it, specify NUMERIC= instead of VALUE= in the database format file. A better approach would be to make NUMERIC a flag that modifies VALUE=.

Attachments (1)

scriptindex.diff (1.5 KB ) - added by Yevgeny Binder 17 years ago.

Download all attachments as: .zip

Change History (6)

by Yevgeny Binder, 17 years ago

Attachment: scriptindex.diff added

comment:1 by Olly Betts, 16 years ago

Keywords: omega numeric sorting removed
Status: newassigned

I think it's fine as a separate action. "NUMERIC" seems a bit generic, but I can't think of a better name off the top of my head.

comment:2 by Olly Betts, 16 years ago

Documentation for the new action is needed too. If you could write some that would be great.

comment:3 by Olly Betts, 16 years ago

Milestone: 1.1.01.1.1

Patch isn't ready to apply yet (lacking documentation) and this isn't an incompatible change, so bumping to 1.1.1.

comment:4 by Olly Betts, 16 years ago

Resolution: fixed
Status: assignedclosed

Fixed in trunk r12461. I went for "valuenumeric" in the end.

comment:5 by Olly Betts, 15 years ago

Milestone: 1.1.11.0.13

Backported for 1.0.13 in r12736.

Note: See TracTickets for help on using tickets.