Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
valentijnscholten committed Nov 2, 2021
2 parents a3fdf23 + cdc81b9 commit 9ca2472
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dojo/db_migrations/0131_migrate_sonarcube_cobalt.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


def migrate_sonarqube(apps, schema_editor):
sq_products = Sonarqube_Product.objects.all()
sq_products = Sonarqube_Product.objects.filter(sonarqube_tool_config__isnull=False)
for sq_product in sq_products:
api_scan_configuration = Product_API_Scan_Configuration()
api_scan_configuration.product = sq_product.product
Expand All @@ -22,7 +22,7 @@ def migrate_sonarqube(apps, schema_editor):


def migrate_cobalt_io(apps, schema_editor):
cobalt_products = Cobaltio_Product.objects.all()
cobalt_products = Cobaltio_Product.objects.filter(cobaltio_tool_config__isnull=False)
for cobalt_product in cobalt_products:
api_scan_configuration = Product_API_Scan_Configuration()
api_scan_configuration.product = cobalt_product.product
Expand Down
2 changes: 1 addition & 1 deletion dojo/templates/dojo/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</div>
</div>
</div>
<a href="{% url 'all_findings' %}?duplicate=2&date=2">
<a href="{% url 'all_findings' %}?duplicate=2&date=2&o=-date">
<div class="panel-footer">
<span class="pull-left">View Finding Details</span>
<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
Expand Down

0 comments on commit 9ca2472

Please sign in to comment.