Skip to content

Commit

Permalink
Merge branch 'main' into cn-json-data-fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
moabu authored Nov 6, 2024
2 parents f9155b3 + 7d818ee commit 3a1f93d
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion admin-ui/app/routes/Apps/Gluu/GluuAdvancedSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function GluuAdvancedSearch({
name="pattern"
defaultValue={pattern}
placeholder={t('placeholders.search_pattern')}
onChange={handler}
onKeyDown={handler}
/>
</FormGroup>
)
Expand Down
1 change: 1 addition & 0 deletions admin-ui/app/routes/Apps/Gluu/GluuCustomScriptSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ function GluuCustomScriptSearch({
data-testid={patternId}
name="pattern"
onChange={handler}
onKeyDown={handler}
defaultValue={pattern}
placeholder={t('placeholders.search_pattern')}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ function ScriptListTable() {
const name = event.target.name
if (name == 'pattern') {
memoPattern = event.target.value
if (event.keyCode === 13) {
makeOptions()
dispatch(getCustomScriptByType({ action: options }))
}
} else if (name == 'type') {
memoType = event.target.value
makeOptions()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ function ClientListPage() {
memoLimit = event.target.value
} else if (event.target.name == 'pattern') {
memoPattern = event.target.value
if (event.keyCode === 13) {
makeOptions()
dispatch(getOpenidClients({ action: options }))
}
}
}
function handleGoToClientEditPage(row, edition) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ function ScopeListPage() {
memoLimit = event.target.value
} else if (event.target.name == 'pattern') {
memoPattern = event.target.value
if (event.keyCode === 13) {
makeOptions()
dispatch(getScopes({ action: options }))
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ function AttributeListPage() {
memoLimit = event.target.value
} else if (event.target.name == 'pattern') {
memoPattern = event.target.value
if (event.keyCode === 13) {
makeOptions()
dispatch(searchAttributes({ options }))
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ function UserList(props) {
memoLimit = event.target.value
} else if (event.target.name == 'pattern') {
memoPattern = event.target.value
if (event.keyCode === 13) {
setLimit(memoLimit)
setPattern(memoPattern)
dispatch(getUsers({ action: { limit: memoLimit, pattern: memoPattern } }))
}
}
}

Expand Down

0 comments on commit 3a1f93d

Please sign in to comment.