mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where the mode is not shown in the properties dialog of functions/procedures if all the arguments are IN arguments. Fixes #5387
This commit is contained in:
committed by
Akshay Joshi
parent
25553b11ed
commit
8654d6cf43
@@ -481,7 +481,8 @@ class FunctionView(PGChildNodeView, DataTypeReader, SchemaDiffObjectCompare):
|
||||
"""
|
||||
proargtypes = [ptype for ptype in data['proargtypenames'].split(",")] \
|
||||
if data['proargtypenames'] else []
|
||||
proargmodes = data['proargmodes'] if data['proargmodes'] else []
|
||||
proargmodes = data['proargmodes'] if data['proargmodes'] else \
|
||||
['i'] * len(proargtypes)
|
||||
proargnames = data['proargnames'] if data['proargnames'] else []
|
||||
proargdefaultvals = [ptype for ptype in
|
||||
data['proargdefaultvals'].split(",")] \
|
||||
|
||||
Reference in New Issue
Block a user