#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)
Change History (6)
by , 17 years ago
Attachment: | scriptindex.diff added |
---|
comment:1 by , 16 years ago
Keywords: | omega numeric sorting removed |
---|---|
Status: | new → assigned |
comment:2 by , 16 years ago
Documentation for the new action is needed too. If you could write some that would be great.
comment:3 by , 16 years ago
Milestone: | 1.1.0 → 1.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 , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in trunk r12461. I went for "valuenumeric" in the end.
Note:
See TracTickets
for help on using tickets.
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.