Project

General

Profile

Revision 96592435

ID965924355b2d91abe376a73c109bdfad76a7466c
Parent 79a2ec81
Child 3419b32d

Added by Fabian Reimeier about 3 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

Add picture from clipboard (Maximum size: 40 MB)