Fix index handling for rule search context

This commit is contained in:
2023-02-09 23:32:06 +00:00
parent 56b268bd77
commit e993f0f20e

View File

@@ -259,7 +259,7 @@
"channel": "{{ row.cells.channel|escapejs }}",
"time": "{{ row.cells.time|escapejs }}",
"date": "{{ row.cells.date|escapejs }}",
"index": "{{ params.index }}",
"index": "{% if row.cells.index != '' %}{{row.cells.index}}{% else %}{{ params.index }}{% endif %}",
"type": "{{ row.cells.type }}",
"mtype": "{{ row.cells.mtype }}",
"nick": "{{ row.cells.nick|escapejs }}",