include id in monitors dropdown so that it is searchable

This commit is contained in:
Isaac Connor 2020-03-03 16:59:38 -05:00
parent fa6ac399be
commit 3a24f27a7a
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ $html .= '</span>
} }
} }
$monitors_dropdown[$monitors[$i]['Id']] = $monitors[$i]['Name']; $monitors_dropdown[$monitors[$i]['Id']] = $monitors[$i]['Id'].' '.$monitors[$i]['Name'];
if ( count($selected_monitor_ids) and ! in_array($monitors[$i]['Id'], $selected_monitor_ids) ) { if ( count($selected_monitor_ids) and ! in_array($monitors[$i]['Id'], $selected_monitor_ids) ) {
continue; continue;