From 76039fb875a57969ccfd34d3acbfce9af4da8da3 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Thu, 19 Dec 2024 22:51:10 +0200 Subject: [PATCH] Show the any-provider if there are more than one providers --- assets/js/pages/booking.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/pages/booking.js b/assets/js/pages/booking.js index 02c182cd..ae53911d 100644 --- a/assets/js/pages/booking.js +++ b/assets/js/pages/booking.js @@ -373,7 +373,7 @@ App.Pages.Booking = (function () { }); // Add the "Any Provider" entry. - if ($selectProvider.find('option').length > 1 && vars('display_any_provider') === '1') { + if ($selectProvider.find('option').length > 2 && vars('display_any_provider') === '1') { $(new Option(lang('any_provider'), 'any-provider')).insertAfter($selectProvider.find('option:first')); }