Skip to content
Snippets Groups Projects
Commit c5246a72 authored by felmer's avatar felmer
Browse files

LMS-2103 allow to search for user id

SVN: 20262
parent ddda238e
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ public final class PersonPE extends HibernateAbstractRegistrationHolder implemen
@Length(max = 50, message = ValidationMessages.USER_ID_LENGTH_MESSAGE)
@NotNull(message = ValidationMessages.USER_ID_NOT_NULL_MESSAGE)
@Pattern(regex = USER_CODE_REGEX, flags = java.util.regex.Pattern.CASE_INSENSITIVE, message = ValidationMessages.VALID_USER_CODE_DESCRIPTION)
@Field(index = Index.NO, name = SearchFieldConstants.PERSON_USER_ID, store = Store.YES)
@Field(index = Index.TOKENIZED, name = SearchFieldConstants.PERSON_USER_ID, store = Store.YES)
public final String getUserId()
{
return userId;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment