From b6dcccb230517df4f3f10a740c92b25c5d4b424a Mon Sep 17 00:00:00 2001 From: j Date: Sun, 31 Dec 2017 14:59:35 +0100 Subject: [PATCH] toString if needed --- static/js/utils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/js/utils.js b/static/js/utils.js index e18560fec..66ef9f769 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -1047,6 +1047,9 @@ pandora.enableDragAndDrop = function($list, canMove, section, getItems) { }; pandora.escapeQueryValue = function(value) { + if (!Ox.isString(value)) { + value = value.toString(); + } return value.replace(/_/g, '%09') .replace(/\s/g, '_') .replace(/