From b1d4c3b5b5a05d38a4baf9c49bd7fdfb6990531d Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 24 Dec 2002 22:41:23 +0000 Subject: [PATCH 1/1] optimization for ginourmous numbers of packages for intergate, whew --- FS/bin/freeside-setup | 4 ++-- README.1.5.0pre1 | 1 + httemplate/view/cust_main.cgi | 16 ++++++++-------- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/FS/bin/freeside-setup b/FS/bin/freeside-setup index 8f3d99fd5..8b7466222 100755 --- a/FS/bin/freeside-setup +++ b/FS/bin/freeside-setup @@ -669,7 +669,7 @@ sub tables_hash_hack { ], 'primary_key' => 'pkgpart', 'unique' => [], - 'index' => [], + 'index' => [ [ disabled ], ], }, # 'part_title' => { @@ -712,7 +712,7 @@ sub tables_hash_hack { ], 'primary_key' => 'svcpart', 'unique' => [], - 'index' => [], + 'index' => [ [ 'disabled' ] ], }, 'part_svc_column' => { diff --git a/README.1.5.0pre1 b/README.1.5.0pre1 index 57fc36af6..0de86bce0 100644 --- a/README.1.5.0pre1 +++ b/README.1.5.0pre1 @@ -7,6 +7,7 @@ schema changes: *** add column cust_main_county.taxname *** add column cust_bill_pkg.itemdesc *** drop index cust_bill_pkg1 + *** add index part_pkg1 and part_svc1 install DBIx::DBSchema 0.21 install NetAddr::IP diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index 62e961dfa..6fe759bd9 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -280,14 +280,14 @@ print '
'. qq!!. '