From 713f71431ec69e8e172e4e6a9eab30c3a2d7a90a Mon Sep 17 00:00:00 2001
From: buczekp <buczekp>
Date: Wed, 9 Jun 2010 13:40:59 +0000
Subject: [PATCH] [SE-255] sort subcodes alphanumericaly

SVN: 16366
---
 .../generic/client/web/server/resultset/ColumnSortUtils.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/server/resultset/ColumnSortUtils.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/server/resultset/ColumnSortUtils.java
index 97abc349cc6..63158709995 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/server/resultset/ColumnSortUtils.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/server/resultset/ColumnSortUtils.java
@@ -48,7 +48,7 @@ class ColumnSortUtils
 
     private static <T> boolean isAlphanum(final IColumnDefinition<T> field)
     {
-        return field.getIdentifier().equals("CODE");
+        return field.getIdentifier().contains("CODE");
     }
 
     @SuppressWarnings("unchecked")
-- 
GitLab