Project

General

Profile

Revision cdf0f80b

IDcdf0f80b0230644459d443d778471c26cf172eb2
Parent afedac7e
Child eec520d3

Added by Andreas Kohlbecker over 3 years ago

ref #7348 ordering registrations by identifier

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/RegistrationDTOController.java
32 32
import eu.etaxonomy.cdm.api.service.registration.IRegistrationWorkingSetService;
33 33
import eu.etaxonomy.cdm.model.name.Registration;
34 34
import eu.etaxonomy.cdm.model.name.RegistrationStatus;
35
import eu.etaxonomy.cdm.persistence.query.OrderHint;
36
import eu.etaxonomy.cdm.persistence.query.OrderHint.SortOrder;
35 37
import eu.etaxonomy.cdm.remote.editor.UUIDListPropertyEditor;
36 38
import eu.etaxonomy.cdm.remote.editor.UUIDPropertyEditor;
37 39
import eu.etaxonomy.cdm.remote.editor.UuidList;
......
152 154
        }
153 155
        Pager<RegistrationDTO> pager = registrationWorkingSetService.pageDTOs(submitterUuid, statusSet,
154 156
                identifierFilterPattern, taxonNameFilterPattern, typeDesignationStatusUuids,
155
                pageSize, pageIndex, null);
157
                pageSize, pageIndex, Arrays.asList(new OrderHint("specificIdentifier", SortOrder.ASCENDING)));
156 158
        return pager;
157 159
    }
158 160

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)