Skip to content

Commit 40485c2

Browse files
author
crzypatchwork
committed
ilike
1 parent bbd7038 commit 40485c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pages/search/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ async function fetchSubjkts(subjkt) {
418418
//console.log(subjkt)
419419
const { errors, data } = await fetchGraphQL(`
420420
query subjktsQuery {
421-
hic_et_nunc_holder(where: { name: {_like: "%${subjkt}%"}}, order_by: {hdao_balance: desc}) {
421+
hic_et_nunc_holder(where: { name: {_ilike: "%${subjkt}%"}}, order_by: {hdao_balance: desc}) {
422422
address
423423
name
424424
hdao_balance
@@ -747,6 +747,7 @@ export class Search extends Component {
747747
<Container>
748748
<Padding>
749749
<Input
750+
style={{ left : '5px' }}
750751
type="text"
751752
name="search"
752753
onChange={this.handleChange}

0 commit comments

Comments
 (0)