Commit a368e49c authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski Committed by Alexandre Delanoë

[ngrams] temp changes

parent 5a6f1071
This diff is collapsed.
...@@ -154,8 +154,8 @@ tableCpt = R.hooksComponent "G.C.Table.table" cpt ...@@ -154,8 +154,8 @@ tableCpt = R.hooksComponent "G.C.Table.table" cpt
{ pageSizeControl: sizeDD { params } { pageSizeControl: sizeDD { params }
, pageSizeDescription: textDescription state.page state.pageSize totalRecords , pageSizeDescription: textDescription state.page state.pageSize totalRecords
, paginationLinks: pagination params totalPages , paginationLinks: pagination params totalPages
, tableHead: H.tr {} (colHeader <$> colNames)
, tableBody: map _.row rows , tableBody: map _.row rows
, tableHead: H.tr {} (colHeader <$> colNames)
} }
makeRow :: Array R.Element -> R.Element makeRow :: Array R.Element -> R.Element
......
...@@ -287,6 +287,8 @@ derive instance genericScoreType :: Generic ScoreType _ ...@@ -287,6 +287,8 @@ derive instance genericScoreType :: Generic ScoreType _
instance showScoreType :: Show ScoreType where instance showScoreType :: Show ScoreType where
show = genericShow show = genericShow
type SearchQuery = String
type NgramsGetOpts = type NgramsGetOpts =
{ tabType :: TabType { tabType :: TabType
, offset :: Offset , offset :: Offset
...@@ -296,7 +298,7 @@ type NgramsGetOpts = ...@@ -296,7 +298,7 @@ type NgramsGetOpts =
, termListFilter :: Maybe TermList , termListFilter :: Maybe TermList
, termSizeFilter :: Maybe TermSize , termSizeFilter :: Maybe TermSize
, scoreType :: ScoreType , scoreType :: ScoreType
, searchQuery :: String , searchQuery :: SearchQuery
} }
type NgramsGetTableAllOpts = type NgramsGetTableAllOpts =
......
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