summaryrefslogtreecommitdiff
path: root/list_components.php
diff options
context:
space:
mode:
Diffstat (limited to 'list_components.php')
-rw-r--r--list_components.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/list_components.php b/list_components.php
index 751cdcf..9bb68ac 100644
--- a/list_components.php
+++ b/list_components.php
@@ -22,8 +22,8 @@ if( !empty( $_REQUEST['find'] ) ) {
$_REQUEST['search'] = $_REQUEST['find'];
}
-// Default on — hide pure kitlocker components; show those also supplied by kitlocker to elves
-if( !isset( $_REQUEST['hide_kitlocker'] ) ) {
+// Default on unless the filter form has been submitted (sentinel field present)
+if( !isset( $_REQUEST['hide_kitlocker'] ) && empty( $_REQUEST['filter_submitted'] ) ) {
$_REQUEST['hide_kitlocker'] = 1;
}