diff --git a/frontend/js/apicalls.js b/frontend/js/apicalls.js
index ff6dd8a1bde6fbb87115e6205d86f442d452c43e..926accf8f0ae90f195540b410478c69c16b76669 100644
--- a/frontend/js/apicalls.js
+++ b/frontend/js/apicalls.js
@@ -246,6 +246,7 @@ async function setDatasetView() {
     $('#storageTypeChooser').hide();
     $('#datasetViewTable').show();
     $('#modifyDatasetButtonGroup').hide();
+    $('#filterForm').hide();
     if (window.sessionStorage.auth_token) {
         $('#modifyDatasetButtonGroup').show();
     }
@@ -441,7 +442,6 @@ async function showListingOrSingleDataset() {
         }
         enableButtons(true, false, true);
     } else { // an id is given, show the dataset, error message if invalid
-        $('#filterForm').hide();
         showDataset(getType(), getId());
     }
 }