diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-09-19 20:32:00 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-09-29 01:02:29 -0500 |
commit | a7cff4d97acd6e76604e4198cfa923f1e52b80a1 (patch) | |
tree | 249b7fc120ba77a64bb89d691547625ae9184e5d /httemplate | |
parent | 03942fec59507eee405e547692a649fc01cc7ff6 (diff) |
RT#37488: Tower/sector selection box is showing disabled towers [removed disabled when using tower_sector]
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/elements/select-tower_sector.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/elements/select-tower_sector.html b/httemplate/elements/select-tower_sector.html index 458bcddcf..76ff25223 100644 --- a/httemplate/elements/select-tower_sector.html +++ b/httemplate/elements/select-tower_sector.html @@ -2,6 +2,8 @@ <& /elements/select-table.html, table => 'tower_sector', name_col => 'description', + addl_from => 'JOIN tower USING (towernum)', + extra_sql => q(WHERE disabled = '' OR disabled IS NULL), order_by => 'ORDER BY towernum,sectorname', empty_label => ' ', @_ |