Changeset 6512
- Timestamp:
- Feb 15, 2008, 4:53:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/trac/ticket/model.py
r6334 r6512 298 298 "FROM attachment WHERE id=%s AND time=%s " 299 299 "ORDER BY time", 300 (self.id, when_ts, str(self.id), when_ts, self.id, when_ts)) 300 (self.id, when_ts, str(self.id), when_ts, 301 str(self.id), when_ts)) 301 302 else: 302 303 cursor.execute("SELECT time,author,field,oldvalue,newvalue,1 " … … 308 309 "SELECT time,author,'comment',null,description,0 " 309 310 "FROM attachment WHERE id=%s " 310 "ORDER BY time", (self.id, str(self.id), self.id)) 311 "ORDER BY time", (self.id, str(self.id), 312 str(self.id))) 311 313 log = [] 312 314 for t, author, field, oldvalue, newvalue, permanent in cursor:
Note:
See TracChangeset
for help on using the changeset viewer.