Removed MY_ prefixed fields from the dropdown as these are now stored within station profiles

pull/355/head
Peter Goodhall 2019-09-25 00:50:47 +01:00
rodzic 76e24b545d
commit 939ef2acb6
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -22,7 +22,7 @@ $(".search-results-box").hide();
filters: [
<?php foreach ($get_table_names->result() as $row) {
$value_name = str_replace("COL_", "", $row->Field);
if ($value_name != "PRIMARY_KEY" && strpos($value_name, '_INTL') == false) { ?>
if ($value_name != "PRIMARY_KEY" && strpos($value_name, 'MY_') === false && strpos($value_name, '_INTL') == false) { ?>
{
id: '<?php echo $row->Field; ?>',
label: '<?php echo $value_name; ?>',