Project

General

Profile

« Previous | Next » 

Revision 96592435

Added by Fabian Reimeier over 5 years ago

ref #6903 handle taxon filter result as selection if user selection is empty

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/distributionStatus/AreaAndTaxonSettingsConfigWindow.java
279 279
					taxonNodes.add(uuidAndTitleCache.getUuid());
280 280
				}
281 281
            }
282
			if(treeSelection.isEmpty() && CdmUtils.isNotBlank(taxonFilter.getValue())) {
283
                for (UuidAndTitleCache<TaxonNode> uuidAndTitleCache : (Collection<UuidAndTitleCache<TaxonNode>>) taxonTree.getItemIds()) {
284
                    taxonNodes.add(uuidAndTitleCache.getUuid());
285
                }
286
			}
282 287
            areaVoc = (TermVocabulary<NamedArea>) distAreaBox.getValue();
283 288
            Set<NamedArea> selectedAreas = (Set<NamedArea>) namedAreaList.getValue();
284 289
            DistributionEditorUtil.updateDistributionView(distributionTableView, taxonNodes, areaVoc, selectedAreas, classificationUuid);

Also available in: Unified diff