From ae2480f6dcd8ddb2f86bc1f1011f3b27ec300aac Mon Sep 17 00:00:00 2001 From: Marc Skov Madsen Date: Sat, 10 Jul 2021 06:37:20 +0200 Subject: [PATCH] fix filter errors --- panel/pane/perspective.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panel/pane/perspective.py b/panel/pane/perspective.py index 28b32d7a6e..389016e8b5 100644 --- a/panel/pane/perspective.py +++ b/panel/pane/perspective.py @@ -369,9 +369,9 @@ def _process_param_change(self, msg): if msg.get(p): msg[p] = [str(col) for col in msg[p]] if msg.get('sort'): - msg['sort'] = [[str(col), d] for col, d in msg['sort']] + msg['sort'] = [[str(col), *args] for col, *args in msg['sort']] if msg.get('filters'): - msg['filters'] = [[str(col), e, val] for col, e, val in msg['filters']] + msg['filters'] = [[str(col), *args] for col, *args in msg['filters']] if msg.get('aggregates'): msg['aggregates'] = {str(col): agg for col, agg in msg['aggregates'].items()} return msg