Modify ↓
#2606 closed defect (fixed)
Custom queries use a custom field's name instead of its label as column name
| Reported by: | anonymous | Owned by: | Christopher Lenz |
|---|---|---|---|
| Priority: | low | Milestone: | 0.9.4 |
| Component: | ticket system | Version: | 0.9.3 |
| Severity: | minor | Keywords: | custom field, custom query |
| Cc: | sschwarzer@… | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
I added a custom field like this:
[ticket-custom] due_date = text due_date.label = Due date
When I use the due date field in a custom query (i. e. http://host/trac/query), the column head shows up as "Due_date" instead of "Due date". Further tests (e. g. using "blah" as label) show that Trac uses the field's name, not its label as the column head.
Attachments (0)
Change History (3)
comment:1 by , 20 years ago
| Component: | general → report system |
|---|---|
| Owner: | changed from to |
comment:2 by , 20 years ago
| Component: | report system → ticket system |
|---|---|
| Milestone: | → 0.9.4 |
| Owner: | changed from to |
| Status: | new → assigned |
comment:3 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.



Fixed in [2890] and [2893].