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:
Cédric Krier committed 2025-09-18 07:48:50 +02:00
1 parent 13bb47b868
commit cae48b576e
1 file changed
+2 -1
+2 -1
View File
@@ -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