Skip to content

Commit

Permalink
fix: make dreps searching available only for given name of all metadatas
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzalowski committed Oct 24, 2024
1 parent 894a05a commit 742d13d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions govtool/backend/sql/list-dreps.sql
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,7 @@ WHERE
(
COALESCE(?, '') = '' OR
dh.view ILIKE ? OR
off_chain_vote_drep_data.payment_address ILIKE ? OR
off_chain_vote_drep_data.given_name ILIKE ? OR
off_chain_vote_drep_data.objectives ILIKE ? OR
off_chain_vote_drep_data.motivations ILIKE ? OR
off_chain_vote_drep_data.qualifications ILIKE ?
)
GROUP BY
dh.raw,
Expand Down
4 changes: 0 additions & 4 deletions govtool/backend/src/VVA/DRep.hs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ listDReps mSearchQuery = withPool $ \conn -> do
( searchParam
, "%" <> searchParam <> "%"
, "%" <> searchParam <> "%"
, "%" <> searchParam <> "%"
, "%" <> searchParam <> "%"
, "%" <> searchParam <> "%"
, "%" <> searchParam <> "%"
)
timeZone <- liftIO getCurrentTimeZone
return
Expand Down

0 comments on commit 742d13d

Please sign in to comment.