summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-09-20 10:01:21 -1000
committerMark Wells <mark@freeside.biz>2015-09-20 10:01:21 -1000
commitb8db5448d5c473ddf888cb9da7fc8dd5de703756 (patch)
treebee2168d2f3ed3dd146cb6758f9e14875c3706cd /httemplate/elements
parentb38fc0b849b21ed4e2a83bab885b63223914edd5 (diff)
parent1f688eba76414dfb81882d3ac800a6710312202a (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/select-tower_sector.html2
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 => ' ',
@_