Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
199
Issues
199
List
Board
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
d304bb36
Verified
Commit
d304bb36
authored
Jul 08, 2025
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[openalex] one more fix to make it similar to web search
parent
c05efd19
Pipeline
#7728
passed with stages
in 50 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
OpenAlex.hs
src/Gargantext/Core/Text/Corpus/API/OpenAlex.hs
+1
-1
No files found.
src/Gargantext/Core/Text/Corpus/API/OpenAlex.hs
View file @
d304bb36
...
@@ -35,7 +35,7 @@ get _email q lang mLimit = do
...
@@ -35,7 +35,7 @@ get _email q lang mLimit = do
Just
(
"title_and_abstract.search:"
<>
Corpus
.
getRawQuery
q
)
Just
(
"title_and_abstract.search:"
<>
Corpus
.
getRawQuery
q
)
,
(
\
l
->
"language:"
<>
iso639ToText
l
)
<$>
lang
,
(
\
l
->
"language:"
<>
iso639ToText
l
)
<$>
lang
]
]
eRes
<-
OA
.
fetchWorksC
Nothing
(
Just
$
T
.
intercalate
","
$
catMaybes
filters
)
(
Just
$
Corpus
.
getRawQuery
q
)
eRes
<-
OA
.
fetchWorksC
Nothing
(
Just
$
T
.
intercalate
","
$
catMaybes
filters
)
Nothing
pure
$
(
\
(
len
,
docsC
)
->
(
len
,
docsC
.|
takeC
limit
.|
mapC
toDoc
))
<$>
eRes
pure
$
(
\
(
len
,
docsC
)
->
(
len
,
docsC
.|
takeC
limit
.|
mapC
toDoc
))
<$>
eRes
toDoc
::
OA
.
Work
->
HyperdataDocument
toDoc
::
OA
.
Work
->
HyperdataDocument
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment