Skip to content

Commit

Permalink
user search - fix broken result link
Browse files Browse the repository at this point in the history
  • Loading branch information
morucci authored and TristanCacqueray committed Jan 12, 2024
1 parent 8cab192 commit bcf347f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Monocle/Api/ServerHTMX.hs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ searchAuthorsHandler auth (Just index) queryM = do
unless (V.null aliases) aliasesH
unless (V.null groups) groupH
where
clickAuthorF = [iii|pushToRouter("#{index}","author","#{muid}")|]
clickGroupF groupName = [iii|pushToRouter("#{index}","group","#{groupName}")|]
clickAuthorF = [iii|pushToRouter("#{indexVal}","author","#{muid}")|]
clickGroupF groupName = [iii|pushToRouter("#{indexVal}","group","#{groupName}")|]
aliasesH = do
hr_ [class_ "pf-c-divider pf-m-vertical"]
ul_ [class_ "pf-c-list pf-m-inline"] $ do
Expand Down

0 comments on commit bcf347f

Please sign in to comment.