Skip to content

Commit

Permalink
Display filter for commit_id in changes page (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
kofrezo committed Apr 4, 2023
1 parent dbf8333 commit 48ef586
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions serveradmin/serverdb/templates/serverdb/changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ <h3>
<input id="object_id" name="object_id" type="text" value="{% if object_id %}{{ object_id }}{% endif %}" class="form-control form-control-sm" placeholder="466880" />
</div>
</div>
<div class="form-group row input-controls">
<label for="commit_id" class="col-sm-1 col-form-label">Commit ID:</label>
<div class="col-md-4">
<input id="commit_id" name="commit_id" type="text" value="{% if commit_id %}{{ commit_id }}{% endif %}" class="form-control form-control-sm" placeholder="123456789" />
</div>
</div>
<div class="form-group row input-controls">
<label for="user_or_app" class="col-sm-1 col-form-label">User/App:</label>
<div class="col-md-4">
Expand Down
1 change: 1 addition & 0 deletions serveradmin/serverdb/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def count(self):
'until': f_until,
'hostname': f_hostname,
'object_id': f_object_id,
'commit_id': f_commit,
'user_or_app': f_user_or_app,
})

Expand Down

0 comments on commit 48ef586

Please sign in to comment.