From 81a64836d701bc9372b1259181e96411ad3eec4c Mon Sep 17 00:00:00 2001 From: Dan Galdi Date: Tue, 30 Jan 2024 15:20:40 -0500 Subject: [PATCH] Fix column names for new view --- .../service/services/jbrowse/JBrowseUserDatasetsService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Service/src/main/java/org/apidb/apicommon/service/services/jbrowse/JBrowseUserDatasetsService.java b/Service/src/main/java/org/apidb/apicommon/service/services/jbrowse/JBrowseUserDatasetsService.java index e0ad07abb..4cf052134 100644 --- a/Service/src/main/java/org/apidb/apicommon/service/services/jbrowse/JBrowseUserDatasetsService.java +++ b/Service/src/main/java/org/apidb/apicommon/service/services/jbrowse/JBrowseUserDatasetsService.java @@ -194,7 +194,7 @@ private VDIDatasetReference datasetFromResultSet(ResultSet resultSet) throws SQL VDIDatasetReference row = new VDIDatasetReference(); row.setDescription(resultSet.getString("description")); row.setId(resultSet.getString("user_dataset_id")); - row.setType(resultSet.getString("type_name")); + row.setType(resultSet.getString("type")); row.setDescription(resultSet.getString("description")); row.setName(resultSet.getString("name")); return row;