| 187 | | if field != "comment" and not [1 for time, author, field2, oldval, newval, _ in ticket.get_changelog() if time > ts and field == field2]: |
|---|
| 188 | | oldval = [old for _, _, field2, old, _, _ in ticket.get_changelog(ts) if field2 == field][0] |
|---|
| | 187 | if field != "comment" and not [1 for time, author, field2, oldval, newval, _ in ticket.get_changelog() if to_timestamp(time) > int(ts) and field == field2]: |
|---|
| | 188 | oldval = [old for _, _, field2, old, _, _ in ticket.get_changelog(to_datetime(int(ts))) if field2 == field][0] |
|---|