From 6dde257d66db460e4e105350552297b3ef4394f5 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 23 Jan 2013 18:14:53 +0000 Subject: [PATCH] Exclude All or Select... options from select filters --- importexport/inc/class.filter_widget.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/importexport/inc/class.filter_widget.inc.php b/importexport/inc/class.filter_widget.inc.php index a9bc5cda2a..d3200d5b75 100644 --- a/importexport/inc/class.filter_widget.inc.php +++ b/importexport/inc/class.filter_widget.inc.php @@ -148,6 +148,10 @@ class filter_widget extends customfields_widget $field['values'][$key] = $val; } } + + // We don't want the 'All' or 'Select...' if it's there + unset($field['values']['']); + $input =& boetemplate::empty_cell($field['type'],$lname,array( 'sel_options' => $field['values'], 'size' => $field['rows'],