fix: [correlation] fix tagging nb nodes

This commit is contained in:
Terrtia 2023-06-02 11:50:21 +02:00
parent 9efc348506
commit e7eceab2b3
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -247,8 +247,8 @@ def correlation_tags_add():
if tags: if tags:
ail_objects.obj_correlations_objs_add_tags(obj_type, subtype, obj_id, tags, filter_types=filter_types, ail_objects.obj_correlations_objs_add_tags(obj_type, subtype, obj_id, tags, filter_types=filter_types,
lvl=level + 1, nb_max=nb_max) lvl=level + 1, nb_max=nb_max)
return redirect(url_for('correlation.show_correlation', return redirect(url_for('correlation.show_correlation',
type=obj_type, subtype=subtype, id=obj_id, type=obj_type, subtype=subtype, id=obj_id,
level=level, level=level,
max_nodes=nb_max,
filter=",".join(filter_types))) filter=",".join(filter_types)))