diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-09-19 20:32:00 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-09-19 20:32:00 -0500 |
commit | 1f688eba76414dfb81882d3ac800a6710312202a (patch) | |
tree | 1f055fae1c729bcde6210b49d33215fa9eb9ff1d | |
parent | 0cf5ea1f85245f80e595f853b86aee03e3438042 (diff) |
RT#37488: Tower/sector selection box is showing disabled towers [removed disabled when using tower_sector]
-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 => ' ', @_ |