Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Grégoire Locqueville
purescript-gargantext
Commits
ca9fd47a
Unverified
Commit
ca9fd47a
authored
Dec 03, 2018
by
Nicolas Pouillard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Annuaire] fix URL
parent
f514db36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Annuaire.purs
src/Gargantext/Pages/Annuaire.purs
+2
-3
No files found.
src/Gargantext/Pages/Annuaire.purs
View file @
ca9fd47a
...
@@ -20,7 +20,7 @@ import Gargantext.Prelude
...
@@ -20,7 +20,7 @@ import Gargantext.Prelude
import Gargantext.Components.Loader as Loader
import Gargantext.Components.Loader as Loader
import Gargantext.Components.Tab as Tab
import Gargantext.Components.Tab as Tab
import Gargantext.Components.Table as T
import Gargantext.Components.Table as T
import Gargantext.Config (toUrl, Path(..), NodeType(..),
TabType(..),
End(..))
import Gargantext.Config (toUrl, Path(..), NodeType(..), End(..))
import Gargantext.Config.REST (get)
import Gargantext.Config.REST (get)
import Gargantext.Pages.Annuaire.User.Contacts.Types (Contact(..), HyperdataContact(..), ContactWhere(..))
import Gargantext.Pages.Annuaire.User.Contacts.Types (Contact(..), HyperdataContact(..), ContactWhere(..))
------------------------------------------------------------------------------
------------------------------------------------------------------------------
...
@@ -223,9 +223,8 @@ instance decodeAnnuaireTable :: DecodeJson AnnuaireTable where
...
@@ -223,9 +223,8 @@ instance decodeAnnuaireTable :: DecodeJson AnnuaireTable where
------------------------------------------------------------------------
------------------------------------------------------------------------
loadPage :: PageParams -> Aff AnnuaireTable
loadPage :: PageParams -> Aff AnnuaireTable
loadPage {nodeId, params: { offset, limit, orderBy }} =
loadPage {nodeId, params: { offset, limit, orderBy }} =
get $ toUrl Back (
Tab TabDocs
offset limit Nothing {-(convOrderBy <$> orderBy)-})
get $ toUrl Back (
Children NodeContact
offset limit Nothing {-(convOrderBy <$> orderBy)-})
(Just nodeId)
(Just nodeId)
-- TODO Tab TabDocs is this what we want in the end?
-- TODO orderBy
-- TODO orderBy
-- where
-- where
-- convOrderBy (T.ASC (T.ColumnName "Name")) = NameAsc
-- convOrderBy (T.ASC (T.ColumnName "Name")) = NameAsc
...
...
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