[freeside-commits] branch FREESIDE_3_BRANCH updated. 61e8e75f45382cfa5ad6a52be58c9744dee8cba8

Jonathan Prykop jonathan at 420.am
Mon Sep 28 23:10:29 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  61e8e75f45382cfa5ad6a52be58c9744dee8cba8 (commit)
      from  ef9491e6007b7aed7ae0e0486a6abb237ca08519 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 61e8e75f45382cfa5ad6a52be58c9744dee8cba8
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Sat Sep 19 20:32:00 2015 -0500

    RT#37488: Tower/sector selection box is showing disabled towers [removed disabled when using tower_sector]

diff --git a/httemplate/elements/select-tower_sector.html b/httemplate/elements/select-tower_sector.html
index 458bcdd..76ff252 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 => ' ',
     @_ 

-----------------------------------------------------------------------

Summary of changes:
 httemplate/elements/select-tower_sector.html |    2 ++
 1 file changed, 2 insertions(+)




More information about the freeside-commits mailing list