Restore limit when searching for searching for wizard name
20cdba7a1bf3 removed the limit but it is still needed to extract the single record. Closes #14238
This commit is contained in:
1 parent
13bb47b868
commit
cae48b576e
1 file changed
+2
-1
@@ -1109,7 +1109,8 @@ class ActionWizard(
|
||||
('model', '=', None),
|
||||
],
|
||||
],
|
||||
order=[('model', 'ASC NULLS LAST')])
|
||||
order=[('model', 'ASC NULLS LAST')],
|
||||
limit=1)
|
||||
if actions:
|
||||
action, = actions
|
||||
wiz_name = action.name
|
||||
|
||||
Reference in new issue
Block a user