From d85093d5bbeae367e75358c5ec51a7e77173d539 Mon Sep 17 00:00:00 2001 From: Jade Geels Date: Mon, 26 Aug 2024 13:26:38 +0200 Subject: [PATCH] [2.x] It's just `parseInt` --- resources/js/components/Listing/Listing.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/components/Listing/Listing.vue b/resources/js/components/Listing/Listing.vue index 09ccdc30f..7b3b5be91 100644 --- a/resources/js/components/Listing/Listing.vue +++ b/resources/js/components/Listing/Listing.vue @@ -108,7 +108,7 @@ export default { function_score: { script_score: { script: { - source: Integer.parseInt( + source: parseInt( doc['positions.' + window.config.category.entity_id].empty ? '0' : doc['positions.' + window.config.category.entity_id + ''].value,