Skip to content

Commit 0461ca0

Browse files
committed
Fix for issue ietf-tools#367: The strings in IdWrapper.state_date() used to find the latest state change were incomplete (a new string was introduced in ietf/idrfc/views_edit.py in [2289]). Add the relevant string to those used in state_date().
- Legacy-Id: 2483 Note: SVN reference [2289] has been migrated to Git commit 7367b95
1 parent fa45244 commit 0461ca0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ietf/idrfc/idrfc_wrapper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ def state_date(self):
416416
try:
417417
return self._idinternal.comments().filter(
418418
Q(comment_text__istartswith="Draft Added by ")|
419+
Q(comment_text__istartswith="Draft Added in state ")|
419420
Q(comment_text__istartswith="State Changes to ")|
420421
Q(comment_text__istartswith="Sub state has been changed to ")|
421422
Q(comment_text__istartswith="State has been changed to ")|

0 commit comments

Comments
 (0)