Modify ↓
#9290 closed enhancement (fixed)
Adding field data to ticket diff data
Reported by: | Mitar | Owned by: | Remy Blank |
---|---|---|---|
Priority: | normal | Milestone: | 0.12 |
Component: | ticket system | Version: | 0.11.4 |
Severity: | normal | Keywords: | |
Cc: | mmitar@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I would like to request that field given to version_info
in ticket displaying would be added to returned data (and thus data used for displaying ticket diff changes). Because otherwise it is very hard (and impossible to do it nicely) to determine for what a diff in changes list is for, when you want to post-process data in post_process_request
.
So simply adding field would be it:
return {'path': path, 'rev': rev, 'shortrev': shortrev, 'href': get_resource_url(self.env, t, req.href), 'field': field}
Attachments (0)
Change History (4)
comment:1 by , 15 years ago
comment:3 by , 15 years ago
Milestone: | → 0.12 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Patch applied in [9622].
comment:4 by , 15 years ago
Owner: | set to |
---|
Note:
See TracTickets
for help on using tickets.
Your suggestion duplicates the field name in both
change.old
andchange.new
. How about this instead? It also adds the field name for non-text fields.trac/ticket/web_ui.py