Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dantheta committed Apr 13, 2021
1 parent 40cee39 commit b4406f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BlockedFrontend/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def registry_seizures(page=1):
newdate = newdate.date()
pagecount = get_pagecount(count, pagesize)

sql = ("select url, max(uls.created)::date created, max(uls.last_blocked) last_blocked, string_agg(isps.description, ';') isp_description "
sql = ("select url, max(category) as category, max(uls.created)::date created, max(uls.last_blocked) last_blocked, string_agg(isps.description, ';') isp_description "
"from public.url_latest_status uls "
"inner join urls using (urlid) "
"inner join isps on network_name = isps.name "
Expand Down
2 changes: 1 addition & 1 deletion BlockedFrontend/templates/registry/registry_seizures.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h3>{{ count }} seized domain{{ '' if count == 1 else 's' }} found</h3>
<table class="table">
<tr>
<th>Domain</th>
<th>category</th>
<th>Category</th>
<th>Detected</th>
<th>Last Seen</th>
</tr>
Expand Down

0 comments on commit b4406f7

Please sign in to comment.