diff --git a/public/assets/js/bootstrap-table-commonsearch.js b/public/assets/js/bootstrap-table-commonsearch.js index 8091961cce379040c93394b95866ab60f932632c..970048392c98e10658b2edc402ccdaf6ba65bcaf 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; };