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
152
Issues
152
List
Board
Labels
Milestones
Merge Requests
9
Merge Requests
9
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
017da1e4
Verified
Commit
017da1e4
authored
May 30, 2023
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ngrams] no listId in table
parent
2d2b4cba
Pipeline
#4093
failed with stages
in 11 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
Table.hs
src/Gargantext/API/Table.hs
+2
-4
No files found.
src/Gargantext/API/Table.hs
View file @
017da1e4
...
@@ -58,7 +58,6 @@ import Gargantext.Prelude
...
@@ -58,7 +58,6 @@ import Gargantext.Prelude
type
TableApi
=
Summary
"Table API"
type
TableApi
=
Summary
"Table API"
:>
QueryParam
"tabType"
TabType
:>
QueryParam
"tabType"
TabType
:>
QueryParam
"list"
ListId
:>
QueryParam
"limit"
Limit
:>
QueryParam
"limit"
Limit
:>
QueryParam
"offset"
Offset
:>
QueryParam
"offset"
Offset
:>
QueryParam
"orderBy"
OrderBy
:>
QueryParam
"orderBy"
OrderBy
...
@@ -105,14 +104,13 @@ tableApi id' = getTableApi id'
...
@@ -105,14 +104,13 @@ tableApi id' = getTableApi id'
getTableApi
::
HasNodeError
err
getTableApi
::
HasNodeError
err
=>
NodeId
=>
NodeId
->
Maybe
TabType
->
Maybe
TabType
->
Maybe
ListId
->
Maybe
Limit
->
Maybe
Limit
->
Maybe
Offset
->
Maybe
Offset
->
Maybe
OrderBy
->
Maybe
OrderBy
->
Maybe
Text
->
Maybe
Text
->
Maybe
Text
->
Maybe
Text
->
Cmd
err
(
HashedResponse
FacetTableResult
)
->
Cmd
err
(
HashedResponse
FacetTableResult
)
getTableApi
cId
tabType
_mListId
mLimit
mOffset
mOrderBy
mQuery
mYear
=
do
getTableApi
cId
tabType
mLimit
mOffset
mOrderBy
mQuery
mYear
=
do
-- printDebug "[getTableApi] mQuery" mQuery
-- printDebug "[getTableApi] mQuery" mQuery
-- printDebug "[getTableApi] mYear" mYear
-- printDebug "[getTableApi] mYear" mYear
t
<-
getTable
cId
tabType
mOffset
mLimit
mOrderBy
mQuery
mYear
t
<-
getTable
cId
tabType
mOffset
mLimit
mOrderBy
mQuery
mYear
...
@@ -129,7 +127,7 @@ postTableApi cId (TableQuery o l order ft q) = case ft of
...
@@ -129,7 +127,7 @@ postTableApi cId (TableQuery o l order ft q) = case ft of
getTableHashApi
::
HasNodeError
err
getTableHashApi
::
HasNodeError
err
=>
NodeId
->
Maybe
TabType
->
Cmd
err
Text
=>
NodeId
->
Maybe
TabType
->
Cmd
err
Text
getTableHashApi
cId
tabType
=
do
getTableHashApi
cId
tabType
=
do
HashedResponse
{
hash
=
h
}
<-
getTableApi
cId
tabType
Nothing
Nothing
Nothing
Nothing
Nothing
Nothing
HashedResponse
{
hash
=
h
}
<-
getTableApi
cId
tabType
Nothing
Nothing
Nothing
Nothing
Nothing
pure
h
pure
h
searchInCorpus'
::
CorpusId
searchInCorpus'
::
CorpusId
...
...
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