diff options
author | Stephen Finucane <stephen@that.guru> | 2021-02-20 14:35:07 +0000 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2021-02-20 14:44:37 +0000 |
commit | 93ff4db29262c0560122f61eadf78d9626def238 (patch) | |
tree | 291610ae827319431599eeead63c4514600745d0 /lib | |
parent | e8f3b10484e3f18b6c0086c34ae9918c2bdb9966 (diff) | |
download | patchwork-93ff4db29262c0560122f61eadf78d9626def238.tar patchwork-93ff4db29262c0560122f61eadf78d9626def238.tar.gz |
models: Use parent model to get comment's 'list_archive_url'
We were attempting to retrieve the 'list_archive_url' attribute from the
'PatchComment' or 'CoverComment' instances, rather than the parent
'Patch' and 'Cover' object, respectively. Correct this and add plenty of
tests to prevent this regressing.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: 02ffb1315 ("models: Add list archive lookup")
Closes: #391
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions