~edwargix/git.sr.ht

ffb94a4c86b8b41a4b5046c0c5121a5f642fbc04 — Drew DeVault 5 years ago f0e2903
repo.ref artifacts: use tag target, not self
1 files changed, 1 insertions(+), 1 deletions(-)

M gitsrht/blueprints/repo.py
M gitsrht/blueprints/repo.py => gitsrht/blueprints/repo.py +1 -1
@@ 518,7 518,7 @@ def ref(owner, repo, ref):
        artifacts = (Artifact.query
                .filter(Artifact.user_id == repo.owner_id)
                .filter(Artifact.repo_id == repo.id)
                .filter(Artifact.commit == tag.id.hex)).all()
                .filter(Artifact.commit == tag.target.hex)).all()
        return render_template("ref.html", view="refs",
                owner=owner, repo=repo, git_repo=git_repo, tag=tag,
                artifacts=artifacts)