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,