Skip to content

Commit e1a4a94

Browse files
authored
Merge pull request #3915 from IntersectMBO/test
txhash fix to staging
2 parents a34dd55 + b87b837 commit e1a4a94

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

govtool/backend/sql/list-proposals.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ WHERE
346346
off_chain_vote_gov_action_data.abstract ILIKE ? OR
347347
off_chain_vote_gov_action_data.motivation ILIKE ? OR
348348
off_chain_vote_gov_action_data.rationale ILIKE ? OR
349-
concat(encode(creator_tx.hash, 'hex'), '#', gov_action_proposal.index) ILIKE ?)
349+
concat(encode(creator_tx.hash, 'hex'), '#', gov_action_proposal.index) = ?)
350350
GROUP BY
351351
gov_action_proposal.id,
352352
creator_tx.hash,

govtool/backend/src/VVA/Proposal.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ getProposals mSearchTerms = withPool $ \conn -> do
8787
, "%" <> searchParam <> "%"
8888
, "%" <> searchParam <> "%"
8989
, "%" <> searchParam <> "%"
90-
, "%" <> searchParam <> "%"
90+
, searchParam
9191
)
9292
case result of
9393
Left (e :: SomeException) -> do
@@ -125,4 +125,4 @@ getPreviousEnactedProposal proposalType = withPool $ \conn -> do
125125
liftIO $ putStrLn $ "[DEBUG] Previous enacted proposal details: " ++ show details
126126
Nothing ->
127127
liftIO $ putStrLn "[DEBUG] No previous enacted proposal found"
128-
return proposal
128+
return proposal

govtool/frontend/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

govtool/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@emotion/styled": "^11.11.0",
2828
"@emurgo/cardano-serialization-lib-asmjs": "^14.1.1",
2929
"@hookform/resolvers": "^3.3.1",
30-
"@intersect.mbo/govtool-outcomes-pillar-ui": "v1.5.1",
30+
"@intersect.mbo/govtool-outcomes-pillar-ui": "v1.5.2",
3131
"@intersect.mbo/intersectmbo.org-icons-set": "^1.0.8",
3232
"@intersect.mbo/pdf-ui": "1.0.9-beta",
3333
"@mui/icons-material": "^5.14.3",

0 commit comments

Comments
 (0)