Commit 6ebf46c3 authored by Fabien Manière's avatar Fabien Manière

change source array to string

parent 030f7dad
Pipeline #5467 failed with stages
in 32 minutes and 59 seconds
......@@ -43,7 +43,7 @@ toDoc la (ISTEX.Document i t a ab d s) = do
, _hd_title = t
, _hd_authors = Just $ foldl (\x y -> x <> ", " <> y) "" (map ISTEX._author_name a)
, _hd_institutes = Just $ foldl (\x y -> x <> ", " <> y) "" (concat $ (map ISTEX._author_affiliations) a)
, _hd_source = Just $ foldl (\x y -> x <> ", " <> y) "" (catMaybes $ map ISTEX._source_title s)
, _hd_source = Just $ foldl (\x y -> x <> ", " <> y) "" (ISTEX._source_title s)
, _hd_abstract = ab
, _hd_publication_date = fmap (T.pack . show) utctime
, _hd_publication_year = pub_year
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment