瀏覽代碼

Change the type of the calendarlinkurl option to "select-input". This is to cover the following case:

An instance of Radarr or Sonarr is added to Organizr. Since the communication between Organizr and these services should preferably be done through a non-public channel, addresses like: http://radarr:7878 or http://sonarr:8989 are entered in the "Multiple URLs" fields. These URLs are then used to generate the links that lead from the calendar to the respective service. But if Oganizr is reachable from the public internet and is also used through it, the generated URLs do not work. With the new form type it is then possible to enter a self chosen public address.
Steven Günther 4 年之前
父節點
當前提交
9e3bc87436
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      api/functions/option-functions.php

+ 1 - 1
api/functions/option-functions.php

@@ -458,7 +458,7 @@ trait OptionsFunction
 				break;
 			case 'calendarlinkurl':
 				$settingMerge = [
-					'type' => 'select',
+					'type' => 'select-input',
 					'label' => 'Target URL',
 					'help' => 'Set the primary URL used when clicking on calendar icon.',
 					'options' => $this->makeOptionsFromValues($this->config[str_replace('CalendarLink', '', $name) . 'URL'], true, 'Use Default'),