diff --git a/public/assets/js/bootstrap-table-commonsearch.js b/public/assets/js/bootstrap-table-commonsearch.js
index 3003095e..67fde5ce 100644
--- a/public/assets/js/bootstrap-table-commonsearch.js
+++ b/public/assets/js/bootstrap-table-commonsearch.js
@@ -157,7 +157,7 @@
} else {
key = isArray ? value : key;
}
- optionList.push(sprintf("", key === vObjCol.defaultValue ? 'selected' : ''));
+ optionList.push(sprintf("", , vObjCol.defaultValue && key == vObjCol.defaultValue ? 'selected' : ''));
});
return optionList;
};