Merge pull request #1 from repo-alt/feature/MasterRegistryFix

Binnie Master Registry search window not working
This commit is contained in:
repo-alt authored and GitHub committed 2019-12-29 22:26:04 +03:00
commit f12a75a356
1 file changed
+1 -1
@@ -53,7 +53,7 @@ public class AnalystPageDatabase extends ControlAnalystPage {
Collection<IAlleleSpecies> options = new ArrayList<>();
getSpecies(system);
for (IAlleleSpecies species : getSpecies(system)) {
if (value != null && value.isEmpty() && !species.getName().toLowerCase().contains(value.toLowerCase())) {
if (value != null && !value.isEmpty() && !species.getName().toLowerCase().contains(value.toLowerCase())) {
continue;
}
options.add(species);