Project

General

Profile

Revision 7304d345

ID7304d3456dbe0f6b9670fa39ac8e4bee61679556
Parent 264ec9d2
Child 0fc610dc

Added by Katja Luther over 3 years ago

fixed copy paste error for common name search

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/taxon/TaxonDaoHibernateImpl.java
1518 1518
                    " WHERE " + doAreaRestrictionWhere +
1519 1519
                    " AND " + doClassificationWhere +
1520 1520
                    " AND " + String.format(doSearchFieldWhere, "sn");
1521
                    commonNameSubselect =  doCommonNamesJoin +
1521
                    commonNameSubselect =  String.format(doAreaRestrictionSubSelect, "t") + doCommonNamesJoin +
1522 1522
                            " WHERE " +  doAreaRestrictionWhere + " AND " + doClassificationWhere +
1523 1523
                            " AND " + String.format(doSearchFieldWhere, "n")
1524 1524
                            + " AND " + doCommonNamesRestrictionWhere;
......
1529 1529
                    synonymSubselect = String.format(doTaxonSubSelect, "s" ) + doSynonymNameJoin +
1530 1530
                    " WHERE " + doClassificationWhere +
1531 1531
                    " AND " + String.format(doSearchFieldWhere, "sn");
1532
                    commonNameSubselect =String.format(doTaxonSubSelect, "s" )+ doCommonNamesJoin +
1532
                    commonNameSubselect =String.format(doTaxonSubSelect, "t" )+ doCommonNamesJoin +
1533 1533
                            " WHERE "+ doAreaRestrictionWhere +
1534 1534
                             " AND " + doClassificationWhere +
1535 1535
                            " AND " + doCommonNamesRestrictionWhere;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)