Opened 19 years ago
Closed 19 years ago
#449 closed enhancement (wontfix)
[patch] variable selection for templates should allow negative list indexes
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Template system | Version: | |
Severity: | normal | Keywords: | |
Cc: | paul.bowsher@… | Triage Stage: | Unreviewed |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Currently you can access elements of a list by adding the numeric index - but you can only use positive indexes. This should be extended to negative indexes as well, so that you could last elements in lists.
Change History (3)
comment:1 by , 19 years ago
Summary: | variable selection for templates should allow negative list indexes → [patch] variable selection for templates should allow negative list indexes |
---|
comment:2 by , 19 years ago
Cc: | added |
---|
comment:3 by , 19 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
I'm marking this as a wontfix because it's too much of an edge case.
Note:
See TracTickets
for help on using tickets.
Test: