[freeside-commits] branch FREESIDE_4_BRANCH updated. 86c59324daa6a96eef6bf80013f4ab412e7c67c6

Ivan ivan at 420.am
Tue Mar 8 17:24:18 PST 2016


The branch, FREESIDE_4_BRANCH has been updated
       via  86c59324daa6a96eef6bf80013f4ab412e7c67c6 (commit)
      from  0c15bfa00008f8d611674e21dbc367972e0c5b89 (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 86c59324daa6a96eef6bf80013f4ab412e7c67c6
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Mar 8 17:24:18 2016 -0800

    fix package edit, fallout from #39822 optimizations

diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index ba615bb..80a61f8 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -193,7 +193,7 @@
                      { field  => 'change_to_pkgpart',
                        type   => 'select-part_pkg',
                        extra_sql  => sub { $pkgpart
-                        ? "AND pkgpart != $pkgpart"
+                        ? "AND part_pkg.pkgpart != $pkgpart"
                         : ''
                        },
                        empty_label => 'no package',
@@ -351,7 +351,7 @@
                    { 'field'      => 'bill_dst_pkgpart',
                      'type'       => 'select-part_pkg',
                      'extra_sql'  => sub { $pkgpart
-                                            ? "AND pkgpart != $pkgpart"
+                                            ? "AND part_pkg.pkgpart != $pkgpart"
                                             : ''
                                          },
                      'label_callback' => sub { shift->pkg_comment_only },
@@ -378,7 +378,7 @@
                      'label'      => 'Also include services from package: ',
                      'type'       => 'select-part_pkg',
                      'extra_sql'  => sub { $pkgpart
-                                            ? "AND pkgpart != $pkgpart"
+                                            ? "AND part_pkg.pkgpart != $pkgpart"
                                             : ''
                                          },
                      'label_callback' => sub { shift->pkg_comment_only },

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

Summary of changes:
 httemplate/edit/part_pkg.cgi |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list