Project

General

Profile

Revision 3e1190d6

ID3e1190d6f9bbfe507bc9c1000e7ef59a0d68b3b9
Parent 45649db0
Child af8ec722

Added by Andreas Kohlbecker about 2 years ago

ref #7523 removing name filter again, since this is blocking the creation of pure typeDesignation registrations

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/RegistrationWorkingsetPresenter.java
57 57
import eu.etaxonomy.cdm.model.name.TaxonNameFactory;
58 58
import eu.etaxonomy.cdm.model.name.TypeDesignationBase;
59 59
import eu.etaxonomy.cdm.model.reference.Reference;
60
import eu.etaxonomy.cdm.persistence.dao.common.Restriction;
61 60
import eu.etaxonomy.cdm.persistence.hibernate.permission.CRUD;
62 61
import eu.etaxonomy.cdm.persistence.hibernate.permission.Operation;
63
import eu.etaxonomy.cdm.persistence.query.MatchMode;
64 62
import eu.etaxonomy.cdm.service.CdmFilterablePagingProvider;
65 63
import eu.etaxonomy.cdm.service.CdmStore;
66 64
import eu.etaxonomy.cdm.service.IRegistrationWorkingSetService;
......
271 269
    protected void activateComboboxes() {
272 270
        CdmFilterablePagingProvider<TaxonName, TaxonName> pagingProvider = new CdmFilterablePagingProvider<TaxonName, TaxonName>(
273 271
                getRepo().getNameService());
274
        pagingProvider.addRestriction(new Restriction<>("registrations.identifier", true, MatchMode.BEGINNING, "http://phycobank.org/"));
272
        // pagingProvider.addRestriction(new Restriction<>("registrations.identifier", true, MatchMode.BEGINNING, "http://phycobank.org/"));
275 273
        CdmTitleCacheCaptionGenerator<TaxonName> titleCacheGenerator = new CdmTitleCacheCaptionGenerator<TaxonName>();
276 274
        getView().getAddExistingNameCombobox().setCaptionGenerator(titleCacheGenerator);
277 275
        getView().getAddExistingNameCombobox().loadFrom(pagingProvider, pagingProvider, pagingProvider.getPageSize());

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)