Fix bug in BandboxSearch that was causing its text to be wrongly updated

Calling getSelectedElemets was returning a WrongFilterValue exception, and filling
in the bandbox value with the partial string used to filter the listbox.

FEA: ItEr77S15FilteringEnhancements
This commit is contained in:
Lorenzo Tilve Álvaro 2013-02-20 18:52:22 +01:00
parent dbf3f0883a
commit 9ba7d7c285

View file

@ -233,6 +233,7 @@ public class BandboxMultipleSearch extends HtmlMacroComponent {
}
public List getSelectedElements() {
updateBandboxValue();
if (this.multipleFiltersFinder != null) {
if (!multipleFiltersFinder.isValidFormatText(selectedFilters,
bandbox.getValue())) {