We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 065af02 commit ffe3c63Copy full SHA for ffe3c63
1 file changed
thoth-export-server/src/csv/kbart_oclc.rs
@@ -25,7 +25,7 @@ struct KbartOclcRow {
25
num_last_issue_online: Option<i64>,
26
title_url: String,
27
first_author: Option<String>,
28
- title_id: Option<String>,
+ title_id: String,
29
embargo_info: Option<String>,
30
coverage_depth: String,
31
notes: Option<String>,
@@ -156,7 +156,7 @@ impl TryFrom<Work> for KbartOclcRow {
156
title_id: work
157
.doi
158
.map(|d| d.to_string())
159
- .or_else(|| Some(work.work_id.to_string())),
+ .unwrap_or_else(|| work.work_id.to_string()),
160
embargo_info: None,
161
coverage_depth: "fulltext".to_string(),
162
notes: None,
0 commit comments